我从BOX导入文件.我用过box sdk V2.它已成功导入,但在导入时,屏幕必须在下一个控制器上导航.我正在崩溃
NSArray *arrayOfViews = [[NSBundle mainBundle] loadNibNamed:@"CategoryOptionView"
owner:nil
options:nil];
Run Code Online (Sandbox Code Playgroud)
这是错误
void _UIPerformResizeOfTextViewForTextContainer中的断言失败(NSLayoutManager*,UIView*,NSTextContainer*,NSUInteger)(),/ SourceCache/UIFoundation_Sim/UIFoundation-229/UIFoundation/TextSystem/NSLayoutManager_Private.m:1516 2013-11-22 08:04:10.083 PunchList [ 1019:6a2b]***由于未捕获的异常'NSInternalInconsistencyException'终止应用程序,原因:'只在主线程上运行!'
我只需要在纵向模式下打开第一个视图控制器.由于其余视图控制器将使用两个方向.所以我在plist文件中添加了两个方向.
-(BOOL) shouldAutorotate {
//Never called
}
- (NSUInteger) supportedInterfaceOrientations {
//Never called
}
Run Code Online (Sandbox Code Playgroud)
任何人都可以告诉我如何限制
我在iOS 7中显示分组样式tableView的单元格分隔符时遇到问题.
if ([projectTable respondsToSelector:@selector(setSeparatorInset:)]) {
[projectTable setSeparatorInset:UIEdgeInsetsZero];
projectTable.separatorColor = [UIColor blackColor];
}
Run Code Online (Sandbox Code Playgroud)
这不显示细胞分离器.请建议