ios - Horizontal and Vertical scrolling UITableViews -
ios - Horizontal and Vertical scrolling UITableViews -
i trying implement horizontal scrolling uitableview on ipad, raombi app, in left panel sticks own place when scrolling horizontally. uitableview based on columnar approach should scroll seamlessly together.
i have no thought how start in order fulfil these requirements.
here screenshot of desired functionality.
in viewdidload rotate table 90 grade , load cells rotating every cells -90 degree. consider first column table header , rest every column table cell. go through below.add in viewdidload
self.tbldetail.transform = cgaffinetransformmakerotation(-m_pi_2);
and below lines in cellforrowatindexpath method
if(!cell){ uiviewcontroller *controller=[[uiviewcontroller alloc] initwithnibname:cellidentifier bundle:nil]; cell=(mycustomcell *)controller.view; cell.transform = cgaffinetransformmakerotation(m_pi_2); }
apart design header , cell in different nib files. header below:
-(uiview *)tableview:(uitableview *)tableview viewforheaderinsection:(nsinteger)section { myheaderview *myview = //your view instantiation code myview.transform = cgaffinetransformmakerotation(m_pi_2); homecoming myview; }
ios uitableview horizontalscrollview
Comments
Post a Comment