I am using the button to trigger a UIImagePickerController to appear. After selecting or capturing an image, the modal is removed from the view, but the button has been as well. Simply setting button.hidden = false brings the button back, but it's annoying behavior to have to call that every time you return to the view controller containing the button.
I am using the button to trigger a UIImagePickerController to appear. After selecting or capturing an image, the modal is removed from the view, but the button has been as well. Simply setting
button.hidden = false
brings the button back, but it's annoying behavior to have to call that every time you return to the view controller containing the button.Steps to replicate: