Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Helpmenu in application

I recently completed my application and now I want to create a user guide for (for each tab) this app which explain some part and will appear first 3 to 4 times when the application runs. After that when the user uses this application the guide will not seen. For detail they have to go a help tab which is there in my aplication.

So Is it possible to display a help menu for First 3 or 4 times when the app is run? If it is possible, then can someone please give me some reference or solution.

like image 456
Harin Avatar asked Nov 28 '11 09:11

Harin


People also ask

What is the purpose of Help menu?

Meaning of help menu in Englisha feature of some computer software programs that you use if you are having problems or want to find out how to do something: Press F4 for the help menu.

What is Help menu in computer?

Definition of Help menu : a menu (see menu sense 1b(2)) that is a part of a computer application or system and that allows the user to access information about how to use the application or system …


1 Answers

You can store a value in NSUserDefaults and increment this value on start. After hitting the third/fourth start don't display the help menu any more.

// start
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSInteger numStarts = [defaults integerForKey:@"numStarts"];
if (numStarts < 4) {
    // show help menu
} 
[defaults setInteger:numStarts+1 forKey:@"numStarts"];
[defaults synchronize];
like image 153
tilo Avatar answered Oct 06 '22 23:10

tilo