ios - How to make a splitViewController behave the same on all devices -


for reasons rather not go into, have splitviewcontroller want behave same way on screens.

in other words, not wish have split screen master-detail on left-right, rather show master or detail, depending on how user using it.

you can set uisplitviewcontroller's preferreddisplaymode property uisplitviewcontrollerdisplaymodesidebyside (the default uisplitviewcontrollerdisplaymodeautomatic). system try honor wishes, you'll have specify custom primarycontentwidth or preferredprimarycolumnwidthfraction property force on compact device.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -