Quote:
Originally Posted by scburns123
If the text displays randomly, will the iPhone still remember what was previously displayed or will it just create a new random text string from the array?
|
If you take a look at post #5 in this thread, Smasher added some code to keep track of the last thing selected. It is for the purpose of not displaying the same response twice in a row, but you should be able to leverage it for your purposes.
Code:
//save the value for the next function call
lastChosen=chosen;