[UIImage imageNamed:] gotcha in iOS < 4.0

If you're using [UIImage imageNamed:@"name_of_image"] (without the file name extension) to load in an image from your app's bundle, it will fail in iOS versions earlier than 4.0. To support 3.x, include the file name extension in your calls. So, to be safe, do: [UIImage imageNamed:@"name_of_image.ext"].

Comments