Even the Settings app can lose entered data if you swipe down to dismiss a sheet modal. Make sure isModalInPresentation
is set in such cases to avoid data loss (especially Tweet drafts!) developer.apple.com/documentation/uikit/uiviewcontroller/3229894-ismodalinpresentation