Sunday, January 12, 2014

Storyboard cached?

The way it is.

I run the interface stays in a previous interface, but now storyboard interface has changed, and I have repeatedly run the product-clean again.

Is there a storyboard cache?

I manually create storyboards and specified, the specified code is as follows:
 
/ / Manually load storyboard
UIStoryboard * storyboard = [UIStoryboard storyboardWithName: @ "Storyboard" bundle: nil];

self.viewController = [storyboard instantiateInitialViewController];

self.navigationController = [[UINavigationController alloc] initWithRootViewController: self.viewController];

self.window.rootViewController = self.navigationController;


As shown:


Reply:
Found the cause of the problem, then xcode suggested that the file is locked, and can not be updated. Should this issue.

No comments:

Post a Comment