[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
by Eric Dolecki on 2010-10-12 23:03:17
by Aral on 2010-10-12 12:48:38
by Aral on 2010-10-12 12:48:48
by Dustin Senos on 2010-10-11 16:30:15
by Eric Dolecki on 2010-10-11 16:23:05