The problem: Setting the detailItem inside of the rootViewController d开发者_如何学JAVAoes not invoke the setter inside the DetailViewController.
The code: http://pastebin.com/38BkQ1qY
Line345 Setting displayItem | Line47 The setter |
What I've tried: Calling different methods (did not work either) NSLogging detailItem after setting it from the rootViewController (returned null).
Thanks for your time.
精彩评论