Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Load url in UIWebView.

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 508
    Comment on it

    Hello All, Following lines of code will help you to load url in UIWebView and make it fit to IPhone screen.

    In .h file

    1. IBOutlet UIWebView *webView;

    In .m file

    1. [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://www.google.co.in/"]]];
    2. webView.scalesPageToFit = YES;

    Hope this will hep you to load url in UIWebView......

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Reset Password
Fill out the form below and reset your password: