iOS appium refuses to find some elements

Hi there,

Device: iPhone 7
iOS version: 11.1.1
Mac System: High Sierra 10.13.1
Appium: Appium desktop 1.2.7

I have a UI element on the screen which can be seen in the inspector in Appium Desktop. However, if I call .getPageSource(), the returned xml doesn’t contain this element at all.
This element is a button inside a tableview’s header view.

Just wondering if anyone has encountered this before and got this resolved by any chance?