阅读背景:

按下按钮时隐藏视图控制器/保持viewcontroller的自定义配置 - Xcode

来源:互联网 

this is a basic issue that I can't seem to find a way to solve. Basically, i am when a button is pressed, it shows me a certain view, and when another button on that view is pressed, it takes me back to view one. HOWEVER, problem is, that whatever custom configuration I do on second view (like setting a UIImageView with a pickerview, or entering text), it resets to original view as soon as I go back to first and come back to second view. I tried linking a button from view one to two then from view two to one, but it erases. I also tried to dismiss the view, but that erases custom configuration too.this is a basic issue that I can't seem to find




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: