I want to find out userAgent of current browser in iOS.
So in default project created by Xcode I added:
#import "ViewController.h" #import
Create an empty UIView and add WKWebView as a subview.
UIView
WKWebView