I need to create a button programmatically just like in the image
I know that this is a destructive button in UIActionSheet. Is there any way to use distructive button as a UIButton ?
Thanks,
Tariq
I need to create a button programmatically just like in the image
I know that this is a destructive button in UIActionSheet. Is there any way to use distructive button as a UIButton ?
Thanks,
Tariq
There are a bunch of projects like this around the net
https://github.com/0xced/UIKit-Artwork-Extractor
That use the private api to generate image files you can use with a standard UIButton. Nice little route around the problem.
No there is no way you can change the functionality of destructive Button except that you access the parts protected by apple (using private api).
You should also avoid changing the functionality as it would be against user interface guidelines and moreover it will get the users confused also.
Thanks,
Madhup