I have used rand(). But it gives a specific value even after I restart application.
I have implemented following in my application.
- (void)viewDidLo
Use the following line before random()
srand(time(NULL));