• Post Reply Bookmark Topic Watch Topic
  • New Topic

ios apps development. user authentication problems.

 
kenji kunoichi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
I am new to ios apps development. I want to make a sample project which is basically a login application.

it is like I will click an icon then it will ask for username and password for the first time , from next time it will directly go to some page or goto some website. and username , password can be saved somewhere which i can change later.

what can be my approach ?

 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kenji,

It depends on the structure you have developed for the application.

Simple mechanism -
-- Check for credential in the system (SQlite/CoreData/UserDefault/KeyChain)
-- If credential found
------ Hide login icon
------ use it further to Login
-- Else pop up the Login screen
------ After Login save credentials to system

Thanks
Pratik Goswami
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!