PR #34743 updates the property attribute to nullable. It can return nil and can be set to nil to remove the view in both Objective-C and Swift.

Migration guide

If splashScreenView is stored in a UIView variable in Swift, update to an optional type UIView?.

Code before migration:

var

splashScreenView

UIView

()

var

flutterEngine

FlutterEngine

name

"my flutter engine"

let

flutterViewController

FlutterViewController

engine

flutterEngine

nibName

nil

bundle

nil

splashScreenView

flutterViewController

splashScreenView