Scroll SFSafariViewController内容从屏幕上被切断

Scroll SFSafariViewController内容从屏幕上被切断,scroll,wkwebview,ios13,sfsafariviewcontroller,Scroll,Wkwebview,Ios13,Sfsafariviewcontroller,我已经使用SFSafariViewController和WKWebview打开了链接,但在ios版本>13时,其内容被水平截断。下面是我使用SFSafariViewController打开链接的代码 NSURL *URL = [NSURL URLWithString:[NSString stringWithFormat:@"https://www.rotary.org/myrotary"]]; SFSafariViewController *sfvc =

我已经使用SFSafariViewController和WKWebview打开了链接,但在ios版本>13时,其内容被水平截断。下面是我使用SFSafariViewController打开链接的代码

     NSURL *URL = [NSURL URLWithString:[NSString stringWithFormat:@"https://www.rotary.org/myrotary"]];
     SFSafariViewController *sfvc = [[SFSafariViewController alloc] initWithURL:URL];
     UIWindow *alertWindow = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
     alertWindow.rootViewController = [[UIViewController alloc] init];
     [alertWindow makeKeyAndVisible];
     [alertWindow.rootViewController presentViewController:sfvc animated:YES completion:nil];
当我在其他测试应用程序中打开相同的链接时,只有一个打开url的按钮,它可以完美地工作,不会切断内容