title: generating random values in iPhone
body: <p>I have used rand(). But it gives a specific value even after I restart application.</p>
  
  <p>I have implemented following in my application.</p>
  
  <pre><code>- (void)viewDidLoad {
  [super viewDidLoad];
  int x,y;
  
  x=random() % 480; y=random() % 300;
  
  lblT.center=CGPointMake(x,y); // my label lblT
  }
  </code></pre>
  
  <p>Try to implement in your application, and launch application.
  After restarting application, you will find that label will be on specific value.</p>