摘要:
指定的section单独刷新 指定的cell单独刷新 阅读全文
摘要:
for (id view in [self.view subviews]) { if ([view isEqual:[UITextField class]]) { NSLog(@"你想要?"); } } 阅读全文
摘要:
个人在开发当中发现在用textField的代理方法 中判断长度大小时,键盘中联想出来的文字还是可以输入到textField中。 比如,你的限制是5,输入框已经是5个字了,联想的字是 ‘电话’还可以输入进去。 这个时候可以使用给textField加通知解决 [self.TextField addTar 阅读全文
摘要:
NSString *className = self.classNameArray[randomNumber]; Class viewClass = NSClassFromString(className); //根据类名称得到类 id view = [[viewClass alloc] initH 阅读全文
摘要:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 阅读全文
摘要:
怎么在xCode7版本上运行xCode8.0的代码? 1.右键你的“LaunchScreen.sb”文件并用编辑器打开sb 2.删掉“<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>” 3 阅读全文
摘要:
iOS UITableViewCell 的分割线向左延长15(cell长度为全宽) 阅读全文
摘要:
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(tapAction:)]; 阅读全文
摘要:
2016 小马哥 IOS 最新视频完整版 链接:http://pan.baidu.com/s/1c1EQlBM 密码:mxkt 链接:http://pan.baidu.com/s/1c1EQlBM 密码:mxkt 阅读全文
摘要:
HomeViewController *homeVC = [[HomeViewController alloc] init]; UIViewController *target = nil; for (UIViewController * controller in self.navigationController.viewControllers) { //遍历 if ([contro... 阅读全文