摘要:设置info.plist中的 Localization native development region = China; Localized resources can be mixed = YES;
阅读全文
摘要:- (void)scrollViewDidScroll:(UIScrollView *)aScrollView { CGPoint offset = aScrollView.contentOffset; CGRect bounds = aScrollView.bounds; CGSize size
阅读全文
摘要:在viewWillAppear里面添加如下代码://分组列表头部空白处理 CGRect frame = myTableView.tableHeaderView.frame; frame.size.height = 0.1; UIView *headerView = [[UIView alloc] i
阅读全文
摘要:- (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath { //删除按钮 UITableViewRowAction *deleteRowAction =
阅读全文
摘要:- (UIViewController *)ViewController { id nextResponder = [self nextResponder]; while (nextResponder != nil) { if ([nextResponder isKindOfClass:[UIVie
阅读全文
摘要:1.自定义cell 2.在cell中要把显示的控件全部添加上 3.创建Frame模型,这个模型中包含数据模型(Status)@property (nonatomic, strong) PFStatus *status; // 模型;还要包含要显示控件的属性,例如:/**原创微博的整体*/@prope
阅读全文