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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -