Iframe on ios

Hello,

I’m using Iframe in my app where the user can login to external site .
However it’s working fine on android and old ios versions ,but on ios 14 it seems that it does not save the cookies.
Any idea how can i solve that.
thank you.

Without being able to inspect and see the details, it sounds like iOS is treating the iframe like a 3rd party and blocking the cookies from being set. This is to be expected as part of Apple’s intention to block 3rd party cookies all together.

I honestly recommend not using cookies and iframes at all, as it’s a pretty poor user experience. SFViewControl (or capacitors in-app-browser) makes use of the proper mechanism to deal with this.