MSCellAccessory
MSCellAccessory copied to clipboard
Running swift locking at launch screen
I brought it in view bridging-header, and put this line of code in the UITableViewCell layoutSubviews call.
self.accessoryView = MSCellAccessory(type: .DISCLOSURE_INDICATOR, color: UIColor.redColor())
It never gets passed the splash screen. If I comment that one line out, the app launches fine. Any ideas?
cell.accessoryView = MSCellAccessory(type: MSCellAccessoryType.FLAT_DISCLOSURE_INDICATOR, color: self.greyTextColor)
use it this way
thanks!
updated my comment for some reason the previous code was working (using pods).. now trying the same without pods and seems it was not working.
the correct code should be working like in my previous comment.