             if #available(iOS 11.0, *) {
                 navigationItem.largeTitleDisplayMode = value as! UINavigationItem.LargeTitleDisplayMode
             }
+        case "imageExportPreset": // Used by UIImagePickerController
+            // Does nothing on iOS 10 and earlier
+            if #available(iOS 11.0, *) {
+                fallthrough
+            }
         default:
-            if name.hasPrefix("navigationItem.leftBarButtonItem."), navigationItem.leftBarButtonItem == nil {
-                navigationItem.leftBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
-            } else if name.hasPrefix("navigationItem.rightBarButtonItem."), navigationItem.rightBarButtonItem == nil {
-                navigationItem.rightBarButtonItem = UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
+            if name.hasPrefix("navigationItem.leftBarButtonItem."),navigationItem.leftBarButtonItem == nil {
+                navigationItem.leftBarButtonItem =
+                    UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
+            } else if name.hasPrefix("navigationItem.rightBarButtonItem."),
+                navigationItem.rightBarButtonItem == nil {
+                navigationItem.rightBarButtonItem =
+                    UIBarButtonItem(title: "", style: .plain, target: nil, action: nil)
             }
             try _setValue(value, ofType: type(of: self).cachedExpressionTypes[name], forKeyPath: name)
         }

            types["availablePermissions"] = .uiCloudSharingPermissionOptions
        }

        return types
    }


    }
}

extension UIInputViewController {
    open override class var expressionTypes: [String: RuntimeType] {
        var types = super.expressionTypes
