I have a ScrollView filling my View. I have some other things on top. When I try re-position the ones on top, Xcode insists on putting them inside the ScrollView. Is there a key I can press or something to stop this happening?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
mikeydelamonde,
I have wondered the same thing and was initially frustrated by this behavior. So I would be interested in hearing other responses as well. But I can share a few tricks that might help.
Know that the order of the objects in your view determies the z-order priority. If you need to work on a particular object, just move it up or down to make it on the top of the stack. If you inadvertently place objects inside of each other, you can move the around in the object tree view to put it inside the correct view.
Know that you can temporarily hide and resize objects to allow other objects to be accessible/visible while you are positioning/editing.
Know that once you get an object on the storyboard or .xib, you can move them around with the arrow keys and by explicitly setting the x, y, width, height. Although this seems like too manual of a process, I found it really isn’t that bad and allows me to get things lined up just the way I want it.
Hope that helps!