ios - Refresh UISplitViewController after changing the Master's width -


i using ios 6.0. this post, know use

[splitviewcontroller setvalue:[nsnumber numberwithfloat:10] forkey:@"_mastercolumnwidth"]; 

to change width of master view.(i not need upload app appstore).

but found works in appdelegate, before

[self.window makekeyandvisible]; 

for example, not work in masterviewcontroller viewdidload method

i guessed because splieviewcontroller not reloadview after changing "_mastercolumnwidth" property. should next if want change master column width in masterviewcontroller?

could please throw light on issue?

thanks in advance.

this works me:

[splitviewcontroller.view setneedslayout]; 

i use show/hide masterviewcontoller in landscape mode.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -