[iOS WK2] Have WebKitTestRunnerApp.app use a UIViewController, and fix to avoid the status bar
Created attachment 285782 [details] Patch
Comment on attachment 285782 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285782&action=review > Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm:103 > + const CGFloat statusBarHeight = 20; Ideally this would use either [[UIApplication sharedApplication] statusBarFrame] or the VC's topLayoutGuide. > Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm:117 > + UIViewController *viewController = [[UIViewController alloc] initWithNibName:nil bundle:nil]; You can just "init", I think.
https://trac.webkit.org/r204364