r/simpleios • • Jul 01 '15

iOS persistent Login

I need to keep my users persistently logged in to my app. I have the php side of it working but have no idea how to save the php cookies in the iphone for authentification. How would I save these cookies through obj c?

1 Upvotes

34 comments sorted by

View all comments

Show parent comment

6

u/brendan09 Jul 01 '15

Marginally correct vs. wrong.

I gave him a simple way. It's all of 1-2 lines. Just because the rest of you are too obsessed with the 'easiest' route instead of the 'correct' route doesn't mean that you have the correct, or even acceptable answer.

I work with people capable of learning. Sorry if I made that mistake here.