Share a variable foe 2 different App in the same iphone (ios)

I want to pass my variable uid from the app1 to the app2
From my app1 I save locally on the memory of my iphone the variableScreenshot 2021-04-10 205757 Screenshot 2021-04-10 205613

Than I want to retreive in my App2 the stored users/uid

Screenshot 2021-04-10 210126

But the value is null ,I thing normal because to use the same variable name I have to initialise it

Screenshot 2021-04-10 210409

How can I pass my uid from the app1 to the app2 ?

Can’t do this, you can only use the internet

You would have to use cloud storage for this. Firebase can do this.

1 Like