1
votes

I'm following along with Paul Hegarty on iTunesU and he adds jpegs to his project by selecting a group in finder and dropping them into the view associated with Images.xcassets. In my project that view has white icons called AppIcon and LaunchIcon. In the tutorial the jpegs are dropped and added, then a simple [UIImage imageNamed: ... can load them into the running program. But when I try to drop images onto the area, nothing happens.

I tried adding them to the project tree view on the left, and they were accepted there, but didn't get [UIImage imageNamed: to work.

Any idea what is wrong here?

TIA Mark

1
Thanks, Vladimir. It seems that it only accepts PNG files. I converted one to PNG in preview and Images.xcassets accepted that.MarkAurelius

1 Answers

2
votes

There is no where such written that we have to use only png for assets catalog, but only I have seen at Create and Set iOS Launch Images they are saying for png, why don't you convert your jpg to png and give a shot.