Not able to select iFrames in iOS Safari

We ran into an issue where we cannot select one iframe due to strict cross site policy.

I found this article: https://appium.io/docs/en/advanced-concepts/cross-domain-iframes/ , however we realized that document.domain will be deprecated very soon, so we cannot use this workaround:

We didn’t have any problems with Android / Chrome, desktop browsers (including Safari), also work fine, this issue is affecting iOS Safari only.
Is this a new feature that could be implemented in Appium?

https://stackoverflow.com/questions/25098021/securityerror-blocked-a-frame-with-origin-from-accessing-a-cross-origin-frame