iphone - Strange color in UIActionSheet -


today added 1 uiactionsheet project , displayed strangely:

enter image description here

as can see, action sheet displays text - no buttons - , background black. want have default style of uiactionsheet on app.

i'm using storyboards , here code present action sheet:

uiactionsheet *_actionsheet = [[[uiactionsheet alloc] initwithtitle:locstr(@"cell_tellfriend_key") delegate:self cancelbuttontitle:locstr(@"cancel_key") destructivebuttontitle:nil otherbuttontitles:locstr(@"emailshare_key"),locstr(@"facebookshare_key"),locstr(@"twittershare_key"),nil] autorelease];  _actionsheet.actionsheetstyle = uiactionsheetstyledefault;  appdelegate *appdelegate = (appdelegate*)[[uiapplication sharedapplication] delegate]; [_actionsheet showfromtabbar:appdelegate.tabbarctrl.tabbar]; 

what doing wrong? how can fix this?

_actionsheet.actionsheetstyle = uiactionsheetstyleblackopaque; 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -