APPIUM IOS - How to find an element by name contains text

Hi, In APPIUM IOS - I’m using this line to find element by name (on screen)

driver.findElement(By.name(message));

How do i change this to find Element by name that contains text ?

Thanks !

Thanks !!! i will try it :slight_smile:

How i can use ios predicate in page factory to find an element with partial text (contains text)