()
| 393 | } |
| 394 | |
| 395 | createNativeView() { |
| 396 | // View controller can be disposed during view disposal, so make sure to create a new one if not defined |
| 397 | if (!this._ios) { |
| 398 | const controller = UIViewControllerImpl.initWithOwner(new WeakRef(this)); |
| 399 | controller.view.backgroundColor = this._backgroundColor; |
| 400 | this.viewController = this._ios = controller; |
| 401 | } |
| 402 | return this._ios.view; |
| 403 | } |
| 404 | |
| 405 | disposeNativeView() { |
| 406 | this.viewController = null; |
nothing calls this directly
no test coverage detected