Customize TWTRTweetDetailViewController (Swift)



When the user tips on a cell in the TWTRTimelineViewController he´s send to the TWTRTweetDetailViewController. This Detail VC is pretty cool but there are two problems about that bar at the button.
1.: The two buttons (like and share) have no text and the textColor is white on a white background
2.: The share button brings an UIActivitySheet up but as pressing the like button it crashes with this message: > *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil’

*** First throw call stack:
(0x180a42e50 0x1800a7f80 0x180926938 0x1001454f4 0x10013a408 0x10016473c 0x1001642f4 0x10016309c 0x100162140 0x100162320 0x185bd8c28 0x185bd8ba4 0x185bc08b0 0x185bd8494 0x185bd80c4 0x185bd0c60 0x185ba108c 0x185b9f668 0x1809f913c 0x1809f8bd0 0x1809f68d0 0x180920e80 0x182208088 0x185c0a0c8 0x100066780 0x1804be8b8)
libc++abi.dylib: terminating with uncaught exception of type NSException

I tried to use the TWTRTweetDetailViewControllerDelegate for it, but I only can change the background color and found not out how to get access on this to buttons.
And a little third problem is that I have a tabBar in my app and the tabBar is over the buttons, so you can´t see those any more.
Heres a picture without the tabBar


Hi @DeveloperHess! Great to hear from you. Can you follow the steps here related to the action buttons? Let me know how it goes!


@todd Thanks for your answer!
I´m not getting who to set this to true. I´m using this as a controller defined in the TWTRTimelineViewController Class using tweetView(tweetView: TWTRTweetView, shouldDisplayDetailViewController controller: TWTRTweetDetailViewController) -> Bool


I had the same problem, I had to remove the preview screen entirely currently I just ignore the touch event and return No in `(tweetView: TWTRTweetView, shouldDisplayDetailViewController controller: TWTRTweetDetailViewController) -> Bool`` method.

@todd Please explain required steps to make TWTRTweetDetailViewController presentable.