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:^{ }];
Comments
Post a Comment