1

I am new in iOS development and want to show the WebView on fullscreen, it is showing on fullscreen in iPhone5 but not in iPhone6. it comes on half of the screen plz take a look at https://www.dropbox.com/s/0o7b8l3o52d8623/Screen%20Shot%202014-12-31%20at%202.33.00%20pm.png?dl=0

1 Answers1

2

Muhammad Naveed Akram Set Your View to Autolayout.

And another method to Set Constrain like as and Dislike Use AutoLayoutButton.

self.webView.autoresizingMask=UIViewAutoresizingFlexibleBottomMargin|UIViewAutoresizingFlexibleTopMargin|UIViewAutoresizingFlexibleLeftMargin|UIViewAutoresizingFlexibleRightMargin|UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleTopMargin;

And if You Using Custom Tool Bar then Set Autosizing For WebView like as

For WebView

enter image description here

For ToolBar

enter image description here

Hope it Helps You.

iOS Developer
  • 133
  • 3
  • 14