(view: any /* any */)
| 10 | export function androidSetStartActivity(activity: androidx.appcompat.app.AppCompatActivity): void {} |
| 11 | |
| 12 | export function setupAccessibleView(view: any /* any */): void { |
| 13 | const uiView = view.nativeViewProtected as UIView; |
| 14 | if (!uiView) { |
| 15 | return; |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * We need to map back from the UIView to the NativeScript View. |
| 20 | * |
| 21 | * We do that by setting the uiView's tag to the View's domId. |
| 22 | * This way we can do reverse lookup. |
| 23 | */ |
| 24 | uiView.tag = view._domId; |
| 25 | } |