ios - UIAlertView button text does not display -


i'm attempting simple alert message display in app. using code recommended apple, every time cancel button displays without text. don't believe have other code override default display of alert.

screenshot can seen here.

here's code display alert:

nsstring *alertmessage = [nsstring stringwithformat:@"no results found '%@'.", @"test"]; uialertview *thealert = [[uialertview alloc] initwithtitle:@"search error"                                                    message:alertmessage                                                   delegate:nil                                          cancelbuttontitle:@"cancel"                                          otherbuttontitles:nil];  [thealert show]; 

when use nslog(@"%@", [thealert buttontitleatindex:0]); log title, outputs "cancel" fine.

i want comment, have low reputation it... anyway, had simmilar issue uibutton, , figured out, bug in xcode 6. have tried xcode 5?


Comments

Popular posts from this blog

Linux vanilla kernel on QEMU and networking with eth0 -

rdbms - what exactly the undo information lives in oracle? -

clojure - 'get' replacement that throws exception on not found? -