摘要: iOS6.0中的一个新控件UIRefreshControl照例上图今天逛论坛看到别人发的帖子,说此控件只能用于UITableViewController,如果用在其他ViewController中,运行时会得到如下错误提示:(即UIRefreshControl只能被UITableViewController管理)其实他忽略了一点,在ViewController上可以调用- (void)addSubview:(UIView *)view;来进行添加UITableViewController,再添加UITableView,这样UIRefreshControl依旧由UITableViewContro 阅读全文
posted @ 2012-11-28 18:14 wangzhipeng 阅读(1677) 评论(0) 推荐(0) 编辑