File tree 2 files changed +10
-1
lines changed
shell/platform/darwin/ios/framework
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -203,8 +203,10 @@ FLUTTER_DARWIN_EXPORT
203
203
*
204
204
* The view used should be appropriate for multiple sizes; an autoresizing mask to
205
205
* have a flexible width and height will be applied automatically.
206
+ *
207
+ * Set to nil to remove the splash screen view.
206
208
*/
207
- @property (strong , nonatomic ) UIView* splashScreenView;
209
+ @property (strong , nonatomic , nullable ) UIView* splashScreenView;
208
210
209
211
/* *
210
212
* Attempts to set the `splashScreenView` property from the `UILaunchStoryboardName` from the
Original file line number Diff line number Diff line change @@ -1135,4 +1135,11 @@ - (void)testFakeEventTimeStamp {
1135
1135
XCTAssertTrue (interval_micros / 1000 < tolerance_millis,
1136
1136
@" PointerData.time_stamp should be equal to NSProcessInfo.systemUptime" );
1137
1137
}
1138
+
1139
+ - (void )testSplashScreenViewCanSetNil {
1140
+ FlutterViewController* flutterViewController =
1141
+ [[FlutterViewController alloc ] initWithProject: nil nibName: nil bundle: nil ];
1142
+ [flutterViewController setSplashScreenView: nil ];
1143
+ }
1144
+
1138
1145
@end
You can’t perform that action at this time.
0 commit comments