Creating An Information Flag

Discussion in 'iOS Programming' started by oo7ml, Aug 26, 2014.

  1. oo7ml macrumors 6502

    Jan 20, 2010

    I want to add an information / message to certain screens when users first open the app, so they understand how to use the app, such as:


    "This screen allows you to view all of your... etc"

    [OK, I GET IT]


    I was thinking of adding a column, such as 'home_screen_msg' to the 'user' table and setting a value of 0 in it, and then querying this field each time the user opens the home screen.

    If the value is still 0, show the information / message pop up, then when they click [OK, I GET IT], update the field to 1 so that it doesn't show again.

    I think my approach is a bit resource heavy or OTT, as this means that this query is run everytime, every user opens the home screen.

    Is there an easier way to accomplish such a task?

    Thanks in advance for your help.
  2. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset

Share This Page