In his xib added a label
Then use
in the delegate method[Self.window addSubView: viewController.view]; why not find view
view not already inherited it?
Reply:
/ / Set the view controller as the window's root view controller and display.
self.window.rootViewController = self.viewController;
[Self.window makeKeyAndVisible];
Reply:
Why I did not?
Reply:
You do this viewController initialized
Reply:
Because you did not add [self.window makeKeyAndVisible]; phrase it,?
Reply:
[Self.window.viewController addSubView: view];
[Self.window makeKeyAndVisible];
Reply:
Married compiler prompts view property does not exist
?
Reply:
How to initialize?
Reply:
Not [window addSubview: viewController.view]? It okay
Why always such?
No comments:
Post a Comment