(left: number, top: number, right: number, bottom: number)
| 414 | } |
| 415 | |
| 416 | public layoutNativeView(left: number, top: number, right: number, bottom: number): void { |
| 417 | const nativeView = this.nativeViewProtected; |
| 418 | if (!nativeView) { |
| 419 | return; |
| 420 | } |
| 421 | |
| 422 | const currentFrame = nativeView.frame; |
| 423 | // Create a copy of current view frame |
| 424 | const newFrame = CGRectMake(currentFrame.origin.x, currentFrame.origin.y, currentFrame.size.width, currentFrame.size.height); |
| 425 | |
| 426 | this._setNativeViewFrame(nativeView, newFrame); |
| 427 | } |
| 428 | |
| 429 | public _modifyNativeViewFrame(nativeView: UIView, frame: CGRect) { |
| 430 | // |
nothing calls this directly
no test coverage detected