摘要:
http://blog.sina.com.cn/s/blog_7018d3820101djut.html一、键盘风格UIKit框架支持8种风格键盘。typedefenum{UIKeyboardTypeDefault,//默认键盘:支持所有字符UIKeyboardTypeASCIICapable,//... 阅读全文
摘要:
1.UITextField的初始化和设置 textField = [[UITextField alloc] initWithFrame:CGRectMake(120.0f, 80.0f, 150.0f, 30.0f)]; [textField setBorderStyle:UITextBord... 阅读全文
摘要:
一、新建一个textView//初始化 UITextView *textView = [[[UITextView alloc] init] autorelease]; //设置代理 需在interface中声明UITextViewDelegate textView.delegate = self; ... 阅读全文
摘要:
原创地址:http://www.cocoachina.com/ios/20141212/10622.html第一步,下载SDWebImage,导入工程。github托管地址https://github.com/rs/SDWebImage第二步,在需要的地方导入头文件#import"UIImageVi... 阅读全文
摘要:
注意:这个方法只支持IOS7以上 NSString * htmlString = @"html文本内容"; NSAttributedString * attrStr = [[NSAttributedString alloc] initWithData:[htmlString dataUs... 阅读全文