Keeping the two method calls in -awakeFromNib and add them to -init too.
Another issue is when the view controller must be dismissed:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (<ESImageViewController: 0x154e3aba0>) has no segue with identifier 'HideImage''
Titanium should support storyboarded and non-storyboarded view controllers. Please take care of the possible absence of a segue.
When Titanium is used in a non-storyboard project there is 2 major and critical issues:
transitionDelegate
is not set before the view controller is presenting. It results to a buggy blank screen. How to resolve that?:Keeping the two method calls in -awakeFromNib and add them to -init too.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Receiver (<ESImageViewController: 0x154e3aba0>) has no segue with identifier 'HideImage''
Titanium should support storyboarded and non-storyboarded view controllers. Please take care of the possible absence of a segue.