I want to create action sheet same bellow picture with Delete button red color and Cancel button. How can i do that? Thanks much
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
You can download sample project from https://github.com/russj/MBActionSheet/ and can customize your action sheet. You can design your buttons and add to actionsheet using following code
and call this method where you are creating action sheet.
Simply use that code make make delete button as destructiveButton
There are many ready codes are available on github for this type of action sheet.
Try below code