Pergunta

I am new to IOS. I have a ViewController in which i add a Container in it. Then there is another ViewController in which i have a image and after the image there is a text view. The problem i am facing is when i run this app on Iphone 5 everything works perfect But when i run the app on Iphone 4s, the space grey bar appear between image and textView.I dont know how can I resolve this issue.

here are the images enter image description here enter image description here

I want to ask one thing more is I want to start the text in textView after two or three line breaks from top.How can i start a text after some line breaks starting from top?

Foi útil?

Solução

Try Using auto-layout if you are using autolayout else try autoresizing for the views as iPhone 5 is 4-inch (320*568) display and iPhone 4s is 3.5-inch (320*480). So the issue is because of the different resolutions.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top