摘要:
iOS开发基础知识--碎片11 1:AFNetwork判断网络状态 #import “AFNetworkActivityIndicatorManager.h" - (BOOL)application:(UIApplication *)application didFinishLaunchingWit 阅读全文
posted @ 2016-08-20 15:32
李洪强
阅读(230)
评论(0)
推荐(0)
摘要:
iOS开发基础知识--碎片10 1:如何给表格单元列增加选择时的背影效果 if (cell == nil) { cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cell 阅读全文
posted @ 2016-08-20 15:30
李洪强
阅读(177)
评论(0)
推荐(0)
摘要:
iOS开发基础知识--碎片9 1:两种方法删除NSUserDefaults所有记录 //方法一 NSString *appDomain = [[NSBundle mainBundle] bundleIdentifier]; [[NSUserDefaults standardUserDefaults] 阅读全文
posted @ 2016-08-20 15:28
李洪强
阅读(194)
评论(0)
推荐(0)
摘要:
iOS开发基础知识--碎片8 1:用UIImageView作为背景,但直接把按钮或者 UITextField放在上面无法相应事件。 解决办法:UIImageView默认的UserInteractionEnabled是NO,把它修改成YES,或者可以直接在XCODE上面的view有个属性勾选User 阅读全文
posted @ 2016-08-20 15:25
李洪强
阅读(232)
评论(0)
推荐(0)
摘要:
XCODE 出现 The operation couldn't be completed.(LaunchServicesError error 0.)错误修复 XCODE 出现 The operation couldn't be completed.(LaunchServicesError erro 阅读全文
posted @ 2016-08-20 00:24
李洪强
阅读(241)
评论(0)
推荐(0)
浙公网安备 33010602011771号