Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7179593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:10:17+00:00 2026-05-28T17:10:17+00:00

I think I have what must be a very common problem to solve and

  • 0

I think I have what must be a very common problem to solve and although there are a few questions/answers on Stackoverflow/google which talk about very similar problems/solutions I havent managed to convert those particular solutions to meet my own requirements.

Essentially I have built my app, now I need to implement a layer, before the app can be used, that manages Authentication (Login/SignUp) and then Authorisation (does this user have a licence to run this app).

Authentication
present login view, if login then a web service is called to authenticate, if successful it will allow the user to move the authorisation (below).

If signUp then a 2 step signUp process is initiated, step 1: capture details (name, email, password, agree terms) step 2: validate email address using a token send to recipient.

Once you are authenticated i plan to update NSUserDefaults to skip this part on next use. (unless the user wishes to unregister the device with the user account)

For authorisation it is a simple web service call to verify if this user has access to this app. If the licence expires in <30 days then UIAlertView accordingly and allow the user to use the app. If no licence then offer user a choice of (try or buy(inAppPurchase)) and proceed accordingly.

I guess the ‘detail’ above is irrelevant really my point is to illustrate that it’s a little more involved than displaying a single view.

I’ve found questions/answers suggesting presenting modal views and others adding subviews to rootviewcontroller in the appDelegate, but nothing that allows me to be more structured.

If anyone could point me in the right direction of some pertinent articles/examples that would be great. Or any views/opinions on an approach, I don’t want to do this bit twice 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:10:18+00:00Added an answer on May 28, 2026 at 5:10 pm

    The way it’s done in https://github.com/Cocoanetics/MyAppSales
    Will probably set you in the right direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this scenario, which I think must be pretty common: class Parameter {
I think this is a common problem. I have a form where I show/hide
I think this must be simple but I can't get it right... I have
I think I have a solution to this, but is there a better way,
I think I have a synchronization problem...It may be too basic..Please help.. I have
I think I have a problem in understanding the proper way of using MVC.
This follows a couple of other questions (but I think I have refined my
I think you programmers must have some interesting naming convention of variables. I have
I have very simple query that calls a UDF which splits a field by
I am trying to solve a problem in Objective-C, but I don't think the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.