I'm trying to set the text to the top of the page in my TextView and I don't know how to align it... I was looking for a way to do this for a while, please help me to accomplish it
Asked
Active
Viewed 204 times
0
-
Are you using autolayout ? – Sandeep Apr 01 '14 at 21:57
-
1Have you tried to use the view full screen? In other words, try to enlarge the height under the navigation bar. – lootsch Apr 01 '14 at 21:58
-
@lootsch thanks, that solved it :) – JohnBigs Apr 01 '14 at 22:02
-
@lootsch hi buddy, it would really help if you will know how to help me here...http://stackoverflow.com/q/22788518/827251 thanks! – JohnBigs Apr 01 '14 at 22:29
2 Answers
1
Try setting the automaticallyAdjustsScrollViewInsets property to NO on its view controller.
Community
- 1
- 1
CrimsonChris
- 4,611
- 2
- 18
- 30
1
Just enlarge the TextView's height to full screen (under the navigation bar).
This will also add the translucent blur effect for text under the navigation bar.
lootsch
- 1,857
- 13
- 20