Trying to ask users to accept 3rd party cookies with objective C in WKWebView for iOS. Here's my current code:
-(void) viewDidLoad {
[super viewDidLoad];
webView = [[WKWebView alloc] initWithFrame:[[self view] bounds]];
NSURL *url = [NSURL URLWithString:@"https://www.example.com"];
NSURLRequest *urlReq = [NSURLRequest requestWithURL:url];
[webView loadRequest:urlReq];
[self.view addSubview:webView];
[self setupConfiguration];
// Do any additional setup after loading the view.
}
Sorry if this isn't a narrow question - running close to a deadline and need help and still relatively new to objective-c/iOS. Any help is much appreciated!