当打开.m文件时尤其是自定义的继承uitableviewcontroler的m 文件。不能滑动,不能正常显示。
解决方法:
用文本编辑器打开这个文件,关闭xcode 。然后在继承uitableviewcontroler的m 文件中找到
-(void)tableView:(UITableView*)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath {// Navigation logic may go here. Create and push another view controller./* <#DetailViewController#> *detailViewController = [[<#DetailViewController#> alloc] initWithNibName:@"<#Nib name#>" bundle:nil]; // ... // Pass the selected object to the new view controller. [self.navigationController pushViewController:detailViewController animated:YES]; [detailViewController release]; */}
代码块,然后删除,保存。重新打开xcode4.6.3
成功解决。请给个好评。找了很多天才找到解决办法。