0
-(void) openPopUpWithUrl:(NSString*)urlString{
    AppDelegate* appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
    ExtraWebViewController* extraWebView = [[ExtraWebViewController alloc] init];
    extraWebView.url = urlString;
    [appDelegate.masterViewController presentViewController:extraWebView animated:YES completion:nil];
}



-(BOOL) webView:(WKWebView *)webView decidePolicyForNavigationAction:(NSURLRequest *)request navigationType:(WKNavigationResponsePolicy)navigationType decisionHandler:(nonnull void (^)(WKNavigationActionPolicy))decisionHandler {

    if([(AKBannerWebView*)webView isFirstLoad]){
        return YES;
    }
    else{
        [self openPopUpWithUrl:[[request URL] absoluteString]];
        return NO;

I want to open fullscreen with the wkwebview in the banner? objective-c

Arasuvel
  • 2,953
  • 1
  • 28
  • 40
  • Does this answer your question? [Presenting modal in iOS 13 fullscreen](https://stackoverflow.com/questions/56435510/presenting-modal-in-ios-13-fullscreen) – Larme May 10 '22 at 08:55

0 Answers0