ios - UIAlertController : How to show all separator lines when added much actions? -


when uialertcontroller cannot show action on screen, can scroll. but, separators disappears. should display separators?

ios : 8.4
xcode : 6.4

example:

uialertcontroller *alertcontroller = [uialertcontroller alertcontrollerwithtitle:@"test" message:@"test" preferredstyle:uialertcontrollerstyleactionsheet];  ( int = 0; < 50; i++ ) {     [alertcontroller addaction:[uialertaction actionwithtitle:[nsstring stringwithformat:@"%d", i] style:uialertactionstyledefault handler:^(uialertaction *action) {      }]]; }  [self presentviewcontroller:alertcontroller animated:yes completion:^{ }]; 

screenshot


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -