0

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

enter image description here

JohnBigs
  • 2,691
  • 3
  • 31
  • 61

2 Answers2

1

Try setting the automaticallyAdjustsScrollViewInsets property to NO on its view controller.

Blank space at top of UITextView in iOS 10

Community
  • 1
  • 1
CrimsonChris
  • 4,651
  • 2
  • 19
  • 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,867
  • 13
  • 21