I have a UIImageView and as I am positioning it, it keeps wanted to become a subview of other views on the viewController. How do I stop it from doing this as I only want to reposition it and have it stay in the current hierarchy. As of now, I have to enter the coordinates manually which is a pain.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
To complete @Lucase's answer, you can double click the element in the 'left icon side bar' to make it movable by arrow key, elaborated in another post.
回答2:
Unfortunately, this is an oversight on the part of the Developer Tools team at Apple. You should file a bug http://bugreport.apple.com.
The best—albeit still annoying—way to get around this is to just use the arrow keys to nudge the view around. Or drag the view as close as you can get it without it being embedded in another view, then use the arrow keys to nudge the view around manually.