objective c - Logging in to iOS app -


whenever have done apps require log in have placed login screen rootviewcontroller of uinavigationcontroller.

i've been wondering whether or not best way approach it?

is there standard pattern doing this?

should maybe have modal screen on top of rootviewcontroller acts login screen?

i have been using modal view controller 2 reasons:

1: because had implement auto login feature if user had been logged in , didn't want have add whole vc when navigating home screen when app auto logs in. makes loading , animation faster loose vc.

2: didn't want encryption code loaded entire duration of application incase wanted snapshot encryption , authentication process. not sure entirely necessary though, seemed bad have login code in memory duration of application.

however in future applications im going neither, , create login view animates in , out when asking login details. in opinion looks best, modal view controllers dont have nicest of animations.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -