Код: Выделить всё
(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}
Подробнее здесь: https://stackoverflow.com/questions/798 ... ull-access
Мобильная версия