笔记
思泪成雪
这个作者很懒,什么都没留下…
展开
-
多个TableView
由于tableview需要有datasource和delegate,因此,你在程序里写的时候,如果多个tableview则用同一个方法使用。因此,去判定的话,需要这样去分辨#pragma mark -UITableViewDataSource- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSIntege...转载 2018-04-09 14:53:06 · 363 阅读 · 0 评论 -
ios 判断应该用pop返回还是dismis返回
if ([self.navigationController respondsToSelector:@selector(pushViewController:animated:)]) { [self dismissViewControllerAnimated:YES completion:^{ }];}else{ [self.navigationCon原创 2015-10-28 14:02:36 · 1005 阅读 · 0 评论