I'm having trouble passing data on two screens.
I would like to change the content displayed when I transition from the first screen to the second screen depending on the cell selected in TableView on the first screen.
You can change the contents of the second screen.
The current situation can be screen transitioned, and the contents are changed on the second screen and saved in NSUserdefaults, but the same contents are displayed no matter which cell in TableView on the first screen.
However, it's only natural because it's transitioned in Segue, but I want to save it so that the contents are displayed differently for each selected cell.
I look forward to your kind cooperation.
objective-c iphone
There is no code for the base, so the following is an abstract description.Please forgive me.
If you need to confirm the changes you made on the second screen and reflect the changes on the first screen, you will define the delegate protocol next to the first screen and its delegate properties on the second screen, and call the method of the protocol at the end of the second screen.
It's not a table view, but I've found some helpful explanations, so how about learning them?
Control related code using StoryBoard
http://qiita.com/kazuma1107/items/d9a8fe2309d6a0fd91cd
581 PHP ssh2_scp_send fails to send files as intended
911 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.