findViewByIdSelector

Find UIView based on idSelector property.

Syntax

Android

public View findViewByIdSelector(String id);

Parameters

  • id: The id attribute of the view specified by the front end in the layout file.

Return

  • The UIView node corresponding to the idSelector attribute.

iOS

- (nullable UIView *)viewWithIdSelector:(nonnull NSString *)idSelector;

Parameters

  • idSelector: The id attribute of the view specified by the front end in the layout file.

Return

  • The UIView node corresponding to the idSelector attribute.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.