objective c - UIModalPresentationFullScreen is not working properly in iPad Landscape? -



objective c - UIModalPresentationFullScreen is not working properly in iPad Landscape? -

i have show info in modalviewcontroller ipad. have nowadays viewcontroller2 viewcontroller1 modalview full screen. viewcontroller1 in uitabbarcontroller, viewcontroller2 should hide tabbar. so, used code show viewcontroller2 viewcontroller1,

uiviewcontroller *viewcontroller2=[[uiviewcontroller alloc] init]; viewcontroller2.modalpresentationstyle = uimodalpresentationfullscreen; [self presentmodalviewcontroller: viewcontroller2 animated:yes];

when phone call viewcontroller2 in landscape mode, viewcontroller shows half of screen in viewcontroller1. , also, simulator automatically alter portrait , automatically homecoming landscape mode. problem in this? can please help me find solution? in advance.

set modelpresentationstyle uimodalpresentationcurrentcontext. may solve problem. solved problem.

objective-c ios uiinterfaceorientation presentmodalviewcontrolle orientation-changes

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -