I would like to move the view from scroll to uiview.
I'm having problems changing its center (or frame) so that it stays in the same position on the screen (but in a different form, possibly in the form of a scroll view).
How do I convert a view center / frame?
Thanks.
EDIT:
CGPoint oldCenter = dragView.center; CGPoint newCenter = [dragView convertPoint: oldCenter toView: self.navigationView.contentView]; dragView.center = newCenter; [self.navigationView.contentView addSubview: dragView];
I can also use tags (NSSet*) since I'm in touchesBegan :
I had a difficult time to get it to work, but the doctor was not so clear.
source share