ipad - Split view in portrait mode! -
apple provide split view landscape not portrait mode. there way achieve splitview in portrait mode also?
[splitviewcontroller sethidesmasterviewinportrait:no]; this work. api not documented(private).
thanks,
manjunath
for ios5+,
go detailviewcontroller. detailviewcontroller should have uisplitviewcontrollerdelegate. , drop code in:
- (bool)splitviewcontroller:(uisplitviewcontroller *)svc shouldhideviewcontroller:(uiviewcontroller *)vc inorientation:(uiinterfaceorientation)orientation{ return no; } this trick. , public api.
Comments
Post a Comment