ios - Horizontal expandable uiscrollview or uitableview? -


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
Post a Comment