I need to open a registration form on my application programatically, the view controller is created on storyborad with storybpard ID ViewControllerRegister and the code I have used to open the form is
There is no problem in your code for loading a view controller programmatically. You must check with breakpoint that either your viewDidLoad method is being called in your opening controller or not. If it is being called then everything is fine and you need to check what you are doing in your opening controller's life cycle methods.
Asked in February 2016Viewed 1,363 timesVoted 12Answered 3 times