Question: Im trying to make a game for the iPhone that has background music.
So this is how it is laid out:
I have a main menu with music running in the background via AVAudioPlayer (I have made a custom method that gets called every time the view loads).
I have this about button, when you press it it "addSubview:aboutView" s and it does that fine, but then when I press the back button which "addSubview:mainView" s it goes back to the main menu, but plays the same music track, on top of the one thats already playing.
I have tried making a int that ++s every time the viewDidLoad is called thats in an if (someInt > 1){} but that int forgets its value every time, so it still duplicates the music.
Help!
I know this is simple, but I cannot seem to work it out, its just one of those days.

Answer: 
As the accepted answer states, that's not correct, however I think there are better ways to do it.

Accessible alternatives:

**Option 1** (using the `aria-label` attribute):

```
Range:
<input ... aria-label='Range start' />
<input ... aria-label='Range end' />

```

**Option 2** (using hidden `label` tags): 

```
<label for='start'>Range start</label>
<input type='text' id='start' />

<label for='end' class='hidden'>Range end</label>
<input type='text' id='end' />

```

Where the `.hidden` class is [only readable by screen readers](http://webaim.org/techniques/css/invisiblecontent/).

**Option 3** (using `aria-labelledby` attributes):

```
<label id='lblRange'>Range</label>
<input type='text' id='start' aria-labelledby='lblRange' />
<input type='text' id='end' aria-labelledby='lblRange' />

```

Advantages of option #1: Each `input` has a good description that other suggestions (such adding a "to" label) do not. Options #2 and #3 might not be the best for this specific case, but worth mentioning for similar cases.

Source: <http://webaim.org/techniques/forms/advanced>
According to [this](http://www.w3.org/TR/html4/interact/forms.html#h-17.9.1) - label can contain only one input as it should be associated with **only one** control. Putting input inside the label means elimination of `for` attribute (automatic linking). 

So you should either put **single** input into label or specify `for` attribute which points to input `id` and **don't** put input into label.