Code: Select all
- (void)actionForGotoHostAppWithURL:(NSURL *)url {
UIResponder *responder = self;
do {
if ([responder respondsToSelector:@selector(openURL:options:completionHandler:)] && [responder isKindOfClass:[UIApplication class]]) {
[responder performSelector:@selector(openURL:options:completionHandler:) withObject:url withObject:nil];
break;
}
} while ((responder = [responder nextResponder]) != nil);
}
Error Domain=NSOSStatusErrorDomain Code=-54 "(null)" UserInfo={_LSFile=LSOpenOperation.mm, _LSLine=835, _LSFunction=_LSIsRequestAllowed
Was ist die neue Methode dafür?
Mobile version