Pass data from iOS native to LibGDX

I have set login view in native iOS file in swift , I want to revert the response of login into to libGDX core or into the libGDX game.

I have segue from the login to appViewController.

Thanks in advance.

Hi there!

what you probably wanna do is, to move the core logic for logging in into your common module. That way you’ll just have to link your viewController to the core logic. When you’ve got everything business-model-related in your common module it’ll become a no-brainer to connect relevant data (username, inventory, etc.) to your libgdx game instance :slight_smile:

Did you manage to do it? :slight_smile:

1 Like