Checking login on SplashScreen

BerayBentesenBerayBentesen TRUniversity ✭✭✭✭

Hi all,

I want to save 3 booleans for a user type. For example 0 is never logged in, 1 is customer, 2 is another type.

This is possible in Android on SplashScreen Activity, also there is a method in Windows.

I wonder what is the best way in iOS ?

Thanks

Answers

  • SanjayTejaniSanjayTejani USMember ✭✭✭

    @BerayBentesen

    Can you please explain in detail what you want to exactly, where you have stored you value like 0,1,2 ????

    if you have any code than it will be easier to resolve your issue.

  • BerayBentesenBerayBentesen TRUniversity ✭✭✭✭

    Application will be checking user type on SplashScreen and navigate regarding to boolean result. I will be using switch-case as I used for Android and Windows. In Android I use shared preferences to save data to local.

    If user login successfully then I will save user type as "1", if other type login successfully then I will save user type as "2" and if user close application without any successful login, default type will be "0". This is how I work currently.

    Basically, I need to cs page for splash screen :)

Sign In or Register to comment.