开发者

Saving a view with nscoding

开发者 https://www.devze.com 2023-01-06 05:36 出处:网络
I implemente开发者_如何学Cd the two methods of the protocol nscoding in a view controller, but now I want to save the view when the apps close and restore the view when the apps start, how I do this?Y

I implemente开发者_如何学Cd the two methods of the protocol nscoding in a view controller, but now I want to save the view when the apps close and restore the view when the apps start, how I do this?


You can use a NIB to ensure that the view objects are always loaded as required, then just configure them in the view controller's -viewDidLoad method.

0

精彩评论

暂无评论...
验证码 换一张
取 消