I have an imageview that moves up when i click a button. i want the button to sit within the image view and move up with the view when i click the button, is there an easy wa开发者_开发知识库y to 'attach' the button to the view in Interface Builder?
Design your xib like this
UIView
UIView
ImageView
UIButton
or try if ImageView hide the button or else you can "Send to Back" imageView
UIView
UIButton
UIView
ImageView
精彩评论