In your code 'No visible @interface for UIView
declares the selector 'loadRequest:' on line why you are getting this error is becuase loadRequest
is not the method of UIView
. But in-spite of that it is the method of UIWebView
. For more refer this UIWebView documentation . So just replace UIView
to UIWebView
and check
//Comment this
//@property (strong, nonatomic) IBOutlet UIView *viewWeb;
//Modify this
@property (strong, nonatomic) IBOutlet UIWebView *viewWeb;
Note:- As you have created outlet of UIView
. So delete the same and drag-drop UIWebView and then reconnect the outlet
to UIWebView