ios - Horizontal expandable uiscrollview or uitableview? -


state when non-expanded <code>uiscrollview</code>

state when expanded <code>uiscrollview</code>

i want create expandable uiscrollview images shown above. i've tried search keywords cannot find example similar want achieve.

i wonder if should use uiscrollview or uitableview?

any advice appreciated.

thank in advance.

you can create uitableview rotate 90 degrees counter clock wise , work charm.

just create uitableview subclass (i.r. horizontaluitableview) , in initwithframe, rotate view 90 degrees:

- (id)initwithframe:(cgrect)frame {     self = [super initwithframe:frame];     if (self) {         // initialization code         self.transform = cgaffinetransformmakerotation(-m_pi/2.0);         self.showsverticalscrollindicator = no;     }     return self; } 

you need subclass uitableviewcell's , rotate them 90 degrees too


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -