该文被密码保护。 阅读全文
摘要:
“ios中如果arc和非arc文件混编,可以在build parses中指定compile flags,如果arc文件设为"-fobjc-arc",非arc文件设为"-fno-objc-arc"”http://blog.sina.com.cn/s/blog_b595ce9e0101nvvn.html 阅读全文
摘要:
//绑定图片点击事件 UITapGestureRecognizer *g=[[UITapGestureRecognizeralloc]initWithTarget:selfaction:@selector(btnNext:)]; g.numberOfTapsRequired = 1; g.... 阅读全文
摘要:
iOS7中计算UILabel中字符串的高度iOS7中出现了新的方法计算UILabel中根据给定的Font以及str计算UILabel的frameSize的方法.本人提供category如下:UILabel+StringFrame.h//// UILabel+StringFrame.h// Lab... 阅读全文
摘要:
//定义两个文本框 UITextField *textName; UITextField *textSummary; //点击return 按钮 去掉 -(BOOL)textFieldShouldReturn:(UITextField *)textField { [textF... 阅读全文
该文被密码保护。 阅读全文