Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
を使用して手動でView Controllerを閉じたいdismissViewController:animated。問題は、ビューを閉じる前に値を保存したいことです。そうしないとnull、最初のビューでデータが得られなくなります。誰もこれを行う方法を知っていますか?
dismissViewController:animated
null
はい、できます
ここに別のstackoverflowリンクがあります:
DismissModalViewController AND データを返す