开发者

UIActionSheet Button color problem

开发者 https://www.devze.com 2023-02-18 07:19 出处:网络
What I am doing I am making a project with Actionsheet with three buttons in it. My problem I want that when I press button 1 .It should be highlighted in orange when I press the button..

What I am doing

I am making a project with Actionsheet with three buttons in it.

My problem

I want that when I press button 1 .It should be highlighted in orange when I press the button..

It should only change when I press the butt开发者_运维百科on

suggestion please..


As Evan Mulawski says in his answer here:

Without using undocumented API's, there is no official way to change the button's color on a UIActionSheet. You may be able to customize this if you subclass the UIActionSheet control.

See this example: http://blog.corywiles.com/customizing-uiactionsheet-buttons

0

精彩评论

暂无评论...
验证码 换一张
取 消