fulberto100
fulberto100

Reputation: 313

How to change superview of uiscrollview?

i have a big uiscrollview and topView in ipad viewcontroller, leftscrollView and topView.

there are child scrollviews in leftScrollView. i want to move a childscrollview into topView .

i couldnt cahnge the superview. it says its readonly.

how can i swap it to another view?

Upvotes: 0

Views: 1147

Answers (1)

Zapko
Zapko

Reputation: 2461

[topView addSubview:childScrollView];

Upvotes: 3

Related Questions