instead of [myVC loadView]; use;
UIView *v = myVC.view
UIViewController.view is lazy loaded; as soon we access it, it will create the view.
instead of [myVC loadView]; use;
UIView *v = myVC.view
UIViewController.view is lazy loaded; as soon we access it, it will create the view.