ios - Why are my UITextFields Null after presenting the camera (or image picker) -
i have number of uitext fields returning null after camera or image picker has been presented. how retain text in these text fields?
use flow
user inputs text text fields --> user chooses picture save along text ---> user taps save button, data saved coredata.
when no image added data saves fine, when camera accessed text fields reset null.
you can save information of text fields in variables , re-load them text fields upon
viewwillappear
Comments
Post a Comment