title: iphone app working on most devices but not a few
body: <p>I have recently been rewriting some of my iphone app because a couple of users have said it was crashing on certain events.</p>
  
  <p>The event in question is when I add a new XIB to the view using the following code</p>
  
  <pre><code>AddItemViewController * add_item = [[AddItemViewController alloc] initWithNibName:@"AddItem" bundle:[NSBundle mainBundle]];
  
  [self presentModalViewController:add_item animated:YES];
  
  [add_item setViewFormat:2];
  [add_item release];
  </code></pre>
  
  <p>it works perfectly on my iphone and a mate's ipod touch (both running 3.1.3) but another user on an ipod touch also with 3.1.3 says it crashes when the function above is called. Why could this be happening? Surely if it works on one device it should work on another?! Is there a better way to add a view which maybe doesnt crash?</p>
  
  <p>I have also disabled all the code on the loading xib - so it literally is loading a near blank page.</p>
  
  <p>It's SO annoying!! Thanks for any help.</p>