Ios SFSafariViewController不';不能在纵向模式下工作
我正在iPad Pro上的模拟器上试用新的SFSafariViewController。它适用于风景画,但不适用于肖像画。这是我的密码:Ios SFSafariViewController不';不能在纵向模式下工作,ios,objective-c,sfsafariviewcontroller,Ios,Objective C,Sfsafariviewcontroller,我正在iPad Pro上的模拟器上试用新的SFSafariViewController。它适用于风景画,但不适用于肖像画。这是我的密码: NSURL *URL = [NSURL URLWithString:[NSString stringWithFormat:@"https://forums.greenrobot.com"]]; if ([SFSafariViewController class] != nil) { //SFSafariViewController *sfvc = [[
NSURL *URL = [NSURL URLWithString:[NSString stringWithFormat:@"https://forums.greenrobot.com"]];
if ([SFSafariViewController class] != nil) {
//SFSafariViewController *sfvc = [[SFSafariViewController alloc] initWithURL:URL];
SFSafariViewController *sfvc = [[SFSafariViewController alloc]initWithURL:URL entersReaderIfAvailable:YES];
[self presentViewController:sfvc animated:YES completion:nil];
} else {
[[UIApplication sharedApplication] openURL:URL];
}
我也是。你有什么解决办法吗?我现在刚推出safari,对此不太满意。