disableEditing()
Disables editing when it’s unsafe to make changes to a document.
Declaration
func disableEditing()Discussion
Subclasses should override this method to prevent the user from editing the document when it’s unsafe to do so, such as during a save-and-close or revert operation. When editing is safe again, UIKit class calls enableEditing(). The default implementation of this method does nothing.