A Boolean value indicating whether the view controller currently allows the user to edit the view contents.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
true, the view controller currently allows editing; otherwise,
If the view is editable and the associated navigation controller contains an edit-done button, then a Done button is displayed; otherwise, an Edit button is displayed. Clicking either button toggles the state of this property. Add an edit-done button by setting the custom left or right view of the navigation item to the value returned by the
edit method. Set the
is property to the initial state of your view. Use the
set method as an action method to animate the transition of this state if the view is already displayed.