简体   繁体   中英

Background color in uialertaction cancel button

I have a MenuActionSheet . I need to to change the font size, style of the options and also want to change the background color of the 'Cancel' button.

According to the attached screenshot.

在此处输入图片说明

This level of customisation can only be achieved by overwriting the drawing methods of your action sheet (it inherits from UIView).

Note: UIActionSheet is deprecated since iOS 8. For more information see: https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActionSheet_Class/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM