Search code examples
iosuiwebviewscale

IOS WebView App - Different View on different scree sizes


I'm absolute beginner in iOS-programming.
Now I'm trying to make a simple WebvView app. And I did it, but when I'm testing it on different screen sizes - it looks different.
Bottom line looks hidden on 3.5' device.
Here is some button that controls this action, but is there any way to make it scalable by device height automaticly, without that button?
Or it should to be a 2 different apps for different sizes?
Thanks!
enter image description here

enter image description here


Solution

  • alternatively you can use Auto Layout. set top, left, right, and bottom constraints of your webview with 0 value. your web view size will always same as your device size.

    enter image description here