etinum
etinum

Reputation: 55

Xcode 4 Interface Builder - prevent hierarchy changes on positioning

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.

Upvotes: 3

Views: 830

Answers (2)

luanjunyi
luanjunyi

Reputation: 1754

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.

Upvotes: 5

CIFilter
CIFilter

Reputation: 8677

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.

Upvotes: 1

Related Questions