使用Salesforce Mobile SDK iOS框架模板

The SFNativeRestAppDelegate state tat you should override:
- (UIViewController*)newRootViewController {..}


返回一个UIViewController-模板与UITableViewController一起使用,但是当使用UISplitViewController时,出现以下错误:

'应用程序尝试以模态显示拆分视图控制器

最佳答案

Salesforce框架将rootViewController显示为模态。解决方案是从SFNativeRestAppDelegate重写-(void)setupNewRootViewController。

Salesforce框架开发人员为我提供了解决方案。

关于ios - Salesforce Mobile SDK iOS-SFNativeRestAppDelegate,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/11510751/

10-12 14:29