iphone - Why won't this view controller init? (NEVER MIND) -


Why is a view controller blank in trying to debug, I have finished a strange place Check it out:

Offer Search Search Controller * searchController = [[OffersControl Controller Alloc] initWithNibName: @ "This is completely fake nibb name." Bundle: zero];

Not a single complaint. I have seen the construction of a crash out of the kind of complaints that "it is completely fake ..." due to being unable to find a nibb, but this time not. Instead, my search controller has pushed the navigation controller as it has loaded successfully, it is empty, though - I can see the full screen of another view (accidentally!) "Below" my UIAVA controller stack.

What's going on here? [Offersearch Controller Alloc] is coming back for some reasons?

Edit: No matter here is the lesson: do not apply loadView when you want to apply the viewDidLoad . Long week

Here is the answer (thanks to @Eric Petrolez, which I suggest that I accept posts and replies) .

Late in Friday-Noon in a burst of productivity, moving faster than the recommendation, I started my property and the - (zero) picker-wheel-data in the load view - Set the source array > instead of - (zero) viewDidload .

Instead of initWithNibName: call to call to call. UIViewController is being allowed to promote, it was happily initialed to my fields and all this is.


Comments