ios - UIPopoverbutton not showing in landscape -
ios - UIPopoverbutton not showing in landscape -
i have ipad app left view on side (with options) , main right detailview. attempting when rotate ipad landscape want button show or sort of way can go on navigate app. in programme there no button, nor popover code willhideviewcontroller
run. have read many links concerning issue , alot of them spoke of delegate in delegate file have posted delegate of program. im not sure if error in code because have exact thing in app working on , works fine.
would if suggest check resolve issue.
any help appreciated.
masterviewcontroller *left=[[masterviewcontroller alloc]init]; uinavigationcontroller *navigleft=[[uinavigationcontroller alloc]initwithrootviewcontroller:left]; detailviewcontroller *detail=[[detailviewcontroller alloc]init]; uinavigationcontroller *navigright=[[uinavigationcontroller alloc]initwithrootviewcontroller:detail]; left.detailviewcontroller = detail; uisplitviewcontroller *splitviewcontroller=[[uisplitviewcontroller alloc]init]; splitviewcontroller.delegate=detail; splitviewcontroller.viewcontrollers=[nsarray arraywithobjects:navigleft,navigright,nil];
ios objective-c ipad uisplitviewcontroller
Comments
Post a Comment