SBApplication* application = [[%c(SBApplicationController)
sharedInstance] applicationWithDisplayIdentifier:@"APPLICATION_ID"];
[application contextHostView];
这段代码让我在iOS5上的iDevice崩溃让任何人都知道它崩溃的原因或任何关于如何使用contextHostView的示例代码。
答案 0 :(得分:0)
UIApplication中没有contextHostView了。试试这个:
UIView *contextHostView = [[app contextHostManager] _realContextHostViewWhichIReallyNeedToAccessAndIKnowWhatImDoingISwear];