()
| 17 | private _stateChangedHandler: ControlStateChangeListener; |
| 18 | |
| 19 | createNativeView() { |
| 20 | const nativeView = UIButton.buttonWithType(UIButtonType.System); |
| 21 | |
| 22 | // This is the default for both platforms |
| 23 | if (nativeView.titleLabel) { |
| 24 | nativeView.titleLabel.textAlignment = NSTextAlignment.Center; |
| 25 | } |
| 26 | return nativeView; |
| 27 | } |
| 28 | |
| 29 | public initNativeView(): void { |
| 30 | super.initNativeView(); |
nothing calls this directly
no outgoing calls
no test coverage detected