Thank you for your comment,
It is mentioned in apple's document that isHittable returns true if the element exists and can be clicked, tapped, or pressed at its current location (source) but in my case the button can not be clicked or tapped at its current location because if we tapped/clicked at the button's position it will not be tapped/clicked, is there any other way to tap/click on it which makes the sentence "can be clicked, tapped, or pressed at its current location" true ?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: