Logged-in if i kiil page in iOS

Hi ,
How to stay login if kill page and after that come back to same with loggin-in?
And If logged-out it should be in login page.
Please let me know , if anybody know.

Thanks
Shivam

It depends on what authentication scheme you use on server.

something do you have at client side or server side ?

Something like you use login/password or oauth2

Using login/password

Search for ‘remember me’ token and localstorage.