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
    • 486
    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

    IBOutlet UIWebView *webView;
    

    In .m file

    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://www.google.co.in/"]]];
        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
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: