如何设置回地面的颜色在iPhone的UIActionSheet?

我需要改变动作片的背面底色,

UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"" delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:@"Create Estimate", @"Record Expense",@"Add Credit",@"Delete Customer", @"Cancel", nil]; actionSheet.actionSheetStyle = UIActionSheetStyleDefault; actionSheet.destructiveButtonIndex=3; [actionSheet showInView:appDelegate.window]; // show from our table view (pops up in the middle of the table) [actionSheet release];

请告诉如何设置动作片回地面的颜色。

--------------解决方案-------------

请参考后: http://stackoverflow.com/questions/1181272/iphone-development-how-to-create-colored-or-translucent-background-for-uiactions

这将是对你有用。

吉姆。

分类:目标C 时间:2015-03-15 人气:3
分享到:

相关文章

Copyright (C) 55228885.com, All Rights Reserved.

55228885 版权所有 京ICP备15002868号

processed in 0.540 (s). 10 q(s)