摘要: 本文转载至http://blog.csdn.net/lizhongfu2013/article/details/91661931、UITableView:UITableViewDelegate 新增内容:// Use the estimatedHeigh(估算高度)t methods to quickly calcuate guessed values which will allow for fast load times of the table.// If these methods are implemented, the above -tableView:heightForXXX c 阅读全文
posted @ 2013-11-18 12:18 天牛 阅读(486) 评论(0) 推荐(0)
摘要: 1、UITextView:A ) IOS7新增加的 UITextViewDelegate 方法:- (BOOL)textView:(UITextView*)textView shouldInteractWithURL:(NSURL*)URL inRange:(NSRange)characterRangeNS_AVAILABLE_IOS(7_0);这个代理方法是当用户点击UITextView中的超链接的时候回调次方法:看代码:1、首先viewController.h 文件中声明:2、viewController.m 中添加如下代码: UITextView*textView;- (void)v.. 阅读全文
posted @ 2013-11-18 12:15 天牛 阅读(329) 评论(0) 推荐(0)
摘要: 本文转载至http://blog.csdn.net/lizhongfu2013/article/details/91332811、UINavigationBar: NSDictionary* attrs =@{NSForegroundColorAttributeName: [UIColorblackColor], NSFontAttributeName: [UIFontfontWithName:@"AmericanTypewriter"size:0.0], }; [[UINavigationBarappearance]setTitleTextA... 阅读全文
posted @ 2013-11-18 12:14 天牛 阅读(234) 评论(0) 推荐(0)
摘要: 本文转载至:http://blog.csdn.net/lizhongfu2013/article/details/9124893IOS7在UI方面发生了很大改变,所以感觉有必要重新审视的学习一下(新特性+以前未注意到的特性)。现在开始了:1、UIView:a)view.clearsContextBeforeDrawing=YES When the Clears Graphics Context (clearsContextBeforeDrawing) checkbox is selected, the drawingbuffer is automatically cleared to tran 阅读全文
posted @ 2013-11-18 12:13 天牛 阅读(316) 评论(0) 推荐(0)