MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / focus

Method focus

packages/core/ui/core/view/index.ios.ts:310–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308 }
309
310 public focus(): boolean {
311 if (this.ios) {
312 return this.ios.becomeFirstResponder();
313 }
314
315 return false;
316 }
317
318 protected applySafeAreaInsets(frame: CGRect): CGRect {
319 if (!__VISIONOS__ && SDK_VERSION <= 10) {

Callers 3

focusFunction · 0.45
showReportPageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected