摘要:
加载图片的两种方式: 1.有缓存 UIImage *img = [UIImage imageWithNamed:@"11"]; 2.无缓存 NSString *path = [[NSBundle mainBundle] pathForResource:@"11" ofType:nil]; UIIma 阅读全文
posted @ 2015-10-27 17:26
怡情_老二
阅读(318)
评论(0)
推荐(0)
摘要:
UIButton是UIControl子类,这个类提供了方法来设置标题,图像,按钮等外观属性。通过使用set方法,你可以指定一个不同的外观为每个按钮状态。// typedef enum {// UIButtonTypeCustom = 0, 自定义风格// ... 阅读全文
posted @ 2015-10-27 17:19
怡情_老二
阅读(126)
评论(0)
推荐(0)