Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to skip the login scene and start straight from the next if you are already authorized?

What is the best place to check if the user is already logged-in and how to realize the transition to the first app scene skipping the login viewController?

like image 545
Vitya Shurapov Avatar asked Nov 22 '16 16:11

Vitya Shurapov


People also ask

How do I automatically connect to AnyDesk without accepting?

If a password is set on the remote computer, you can choose to log in automatically. Just connect and wait for the password dialog to appear. Check “Log in automatically from now on” and enter the correct password. You will not be asked for the password anymore for future connections to the same machine.

How do I allow login through remote desktop?

Start > Run > gpedit. msc. Expand: Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Management. Select: Allow log on through Remote Desktop Services.

How do I disable unattended access in AnyDesk?

If you want to prevent unattended access, you can revoke the permission in the security tab of AnyDesk software by disabling the unattended access option. If you reset the tokens, that will have the same effect too.

How do I enable AnyDesk interactive access allow always?

These settings can be found in Settings > Security > Interactive Access. There are three options for incoming requests: Allow always. Allow only if AnyDesk window is open.


1 Answers

You could try something like that:

  • In your FirstViewController you check if the user is logged in. If so, you push the MainViewController, if not you push the LoginViewController and after login you push the MainViewController.

You can build a interface for FirstViewController cloning the Splash Interface, so the user won't note you have another viewcontroller before Login.

Like this:

enter image description here

like image 153
Allan Scofield Avatar answered Sep 28 '22 17:09

Allan Scofield