Reputation: 2249
I have a strange error in Xcode 5.0.2.
I just made a new project with the tab bar template. In the views, there is a textview. It is for some reason cut in the middle (see pic below).
I also have same problem with other projects. I have not tampered with the project in any way yet.
Anybody has an idea why and how to fix it?
Thanks!
EDIT: extra screenshot
Upvotes: 4
Views: 2372
Reputation: 2249
The error is known with Apple and merged with another BUG. Hope they will fix soon.
Upvotes: 2
Reputation: 4352
I was having the same issue. I noticed if I changed the View -> Mode from the default "Scale To Fill" to "Aspect Fill" it fixed the issue. Oddly, changing it back didn't cause the issue to resurface, so it definitely seems to be a bug with the interface builder in Xcode.
Upvotes: 2
Reputation: 14068
I had the same thing some time ago and asked here on SO. In my case it was caused by Buttons with text, not text view.
I found out that the line of the horizontal cut was related to the vertical position of the otehr buttons.
I did not solve it therefore I deleted all UI elements from that view (only 3 in my case) and re-created them. That is, of course just a workaround but it worked. The app still works nicely.
After I did so SO user Bio Cho suggested the solution to change the text from plain to attributed and back to plain.. To late for me to try it, but you could give it a try. See UIButton Title does not appear or is cut - bottom most label only
Upvotes: 1