【发布时间】:2017-05-26 18:25:47
【问题描述】:
我在 SFSafariViewController 中呈现如下链接:
SFSafariViewController *sfvc = [[SFSafariViewController alloc] initWithURL:myurl];
sfvc.preferredControlTintColor=[UIColor blackColor];
sfvc.delegate = self;
[self.navigationController pushViewController:sfvc animated:YES];
我已添加委托SFSafariViewControllerDelegate 和方法:
- (void)safariViewControllerDidFinish:(SFSafariViewController *)controller{
NSLog(@"safariViewControllerDidFinish");
[self.navigationController popViewControllerAnimated:YES];
}
但是,当我点击“完成”按钮时,它通常不起作用。尤其是左手,它永远不会起作用。但是,当我用右手以特定角度敲击时,它确实有效。这似乎表明“完成”按钮的触摸区域太小。
如果我使用从左边缘滑动,那么就可以了。
【问题讨论】:
标签: ios uinavigationcontroller sfsafariviewcontroller