I have a UIPickerView added as a subview to my main view. I also have a series of textfields in the main view, so the picker view covers some up. So I was wondering if it is possible to move the main view (containing textfields) while the picker view (subview added to main view) remains stationary?
A:
The only way to accomplish this would be to move the subview by the same amount in the opposite direction, negating the child view's movement. So, for example, if I move the parent's x origin +42 pixels, I should move the child's x origin -42 pixels. This can be encapsulated pretty easily into a single call.
fbrereto
2009-12-02 21:46:37
Well played sir.
rson
2009-12-02 21:52:37