I\'m trying to present a ViewController if there is any saved data in the data model. But I get the following error:
ViewController
Warning: A
At this point in your code the view controller's view has only been created but not added to any view hierarchy. If you want to present from that view controller as soon as possible you should do it in viewDidAppear to be safest.
viewDidAppear