Saturday, September 28, 2013

xib with StoryBoard how to call each other?

A xib file, landing page, a StoryBoard, responsible for the overall business processes. OK trigger event:

UIStoryboard * stryBoard = [UIStoryboard storyboardWithName: @ "MainStoryboard" bundle: nil];
self.view.window.rootViewController = [stryBoard instantiateInitialViewController];

Xcode 4.5.2, iOS6 SDK, such as publishing to iphone6 ​​simulator no problem, publish the collapse
to 5.1
'NSUnknownKeyException', reason: '[<__NSCFString 0x6a9d6b0> setValue: forUndefinedKey:]: this class is not key value coding-compliant for the key searchBar.'

Which heroes will give solve?

Reply:
What is achieved searchBar

No comments:

Post a Comment