Timeline for UITableViewRowAction image for title
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 3, 2017 at 9:32 | comment | added | Jayesh Miruliya | try above comment | |
| May 3, 2017 at 9:21 | comment | added | mattsson | No one should use this solution. You have no way of knowing if Apple stops calling setButton. | |
| Sep 29, 2016 at 13:34 | comment | added | Keab42 | @etayluz sadly _setButton is a private API. | |
| Sep 19, 2016 at 16:02 | comment | added | etayluz | @Jayesh Miruliya, how did you know that UITableViewRowAction had a button property? This is NOT in the documentation: developer.apple.com/reference/uikit/uitableviewrowaction. Is this technically a hack ? | |
| Sep 9, 2016 at 18:57 | comment | added | Natalia | FYI this won't let you just add an image, there has to be text as well. It was crashing when I put "" into the title argument (due to force unwrap of titleLabel.text). I had to put " " into the title argument to get an image only swipe action...on the plus side you can control the width of the button with the number of blank spaces though...:) | |
| Jul 29, 2016 at 9:58 | history | answered | Jayesh Miruliya | CC BY-SA 3.0 |