- Forums
- »
- General Discussion
- »
- Icons and Launch Images
|
Viewing 1 to 17 (17 Total) Icons and Launch Images |
|
|---|---|
crayfellowTotal Posts: 204
Joined: November 28, 2011
|
Icon support was not entirely working for the iOS target. Now as of what is in SVN, icon support via NMML "icon" node is working fully including covering the retina iPad icon dimension (144px).
This covers all permutations of current iPhone and iPad launch orientations and sizes. These are automatically added into the Xcode project configuration. The names do matter as these happen to be the names Xcode uses behind the scenes. This seems better to me as it prevents the names from having to be hard coded into the NME installer[s].
Tags:
Posted on June 28, 2012 at 11:32 AM
|
PhilippeTotal Posts: 261
Joined: September 08, 2011
|
Re: Icons and Launch ImagesFantastic news!
Posted on June 28, 2012 at 1:45 PM
|
crayfellowTotal Posts: 204
Joined: November 28, 2011
|
Re: Icons and Launch ImagesYou're right, that does usually need to be taken into account. For NME as it stands today, the spec Info.plist file that goes into the generated Xcode project does have UIStatusBarHidden set to "true" so the launch image and app will fill the whole screen.
Posted on June 28, 2012 at 1:55 PM
|
crayfellowTotal Posts: 204
Joined: November 28, 2011
|
Re: Icons and Launch ImagesI should also mention: NME doesn't process the images at all so as of right now the width and height are pretty much ignored. This might be convenient because it means you can just switch out the launch images at your leisure if you want to account for the status bar. NME will just pass whatever you give it into the project configuration.
Posted on June 28, 2012 at 1:57 PM
|
PhilippeTotal Posts: 261
Joined: September 08, 2011
|
Re: Icons and Launch ImagesMight be a good occasion to set UIStatusBarHidden depending on the 'fullscreen' attribute value ;)
Posted on June 28, 2012 at 2:36 PM
|
crayfellowTotal Posts: 204
Joined: November 28, 2011
|
Re: Icons and Launch Imageshehe it's funny that's exactly what I was thinking. Since you mentioned it, I'll just put that in there now so we don't forget.
Posted on June 28, 2012 at 2:38 PM
|
crayfellowTotal Posts: 204
Joined: November 28, 2011
|
Re: Icons and Launch ImagesOK, that is in there now as well now. UIStatusBarHidden will be true in the Info.plist if there is either fullscreen="true" attribute in the window tag or a <set name="fullscreen" if="target_ios" /> in the NMML.
Posted on June 28, 2012 at 2:58 PM
|
exdevTotal Posts: 93
Joined: March 09, 2012
|
Re: Icons and Launch ImagesThanks!
Posted on September 04, 2012 at 6:19 PM
|
JonTotal Posts: 272
Joined: March 08, 2012
|
Re: Icons and Launch ImagesI'm also curious about whether this works on Android launch images, or if we have to roll something ourselves for Android.
Posted on September 05, 2012 at 7:32 PM
|
JonTotal Posts: 272
Joined: March 08, 2012
|
Re: Icons and Launch ImagesI'm having trouble getting the iOS icon support working, unless I use the SVG option. (which is great choice, but not for my particular use case)
Posted on September 06, 2012 at 2:21 AM
|
singmajestyTotal Posts: 2146
Joined: August 25, 2011
|
Re: Icons and Launch ImagesI believe the iOS project template is made where it will not embed the relevant tags in the generated Xcode project for an icon unless the project includes all of the required icon sizes.
Posted on September 06, 2012 at 4:50 AM
|
JonTotal Posts: 272
Joined: March 08, 2012
|
Re: Icons and Launch ImagesRequiring all of them is fine - that's how the launch images appear to work, but it should be mentioned in the toolchain (as a warning or error) and documented on the NMML spec.
Posted on September 06, 2012 at 12:37 PM
|
JonTotal Posts: 272
Joined: March 08, 2012
|
Re: Icons and Launch ImagesI finally traced this back to the info.plist template that NME ships. This template only works on iOS 5.1 and above. There should be a fallback for iOS 5.0 users and below who may not be on a computer that's able to install the latest SDK.
Posted on September 06, 2012 at 2:55 PM
|
crayfellowTotal Posts: 204
Joined: November 28, 2011
|
Re: Icons and Launch ImagesThere's nothing in the plist that is specific to 5.1. In fact, it will work (and I have used it) back to iOS 4.x.
Posted on September 06, 2012 at 2:58 PM
|
JonTotal Posts: 272
Joined: March 08, 2012
|
Re: Icons and Launch ImagesI'm on Xcode 4.1.
Posted on September 06, 2012 at 3:00 PM
|
crayfellowTotal Posts: 204
Joined: November 28, 2011
|
Re: Icons and Launch ImagesOK. can't hurt to upgrade to the version dispatched by the Mac App Store, makes it easier to keep up to date, too. Unless you have a reason to hold on to 4.1 that is what I would recommend.
Posted on September 06, 2012 at 3:03 PM
|
JonTotal Posts: 272
Joined: March 08, 2012
|
Re: Icons and Launch ImagesI'm actually redistributing a tool, so this isn't about me upgrading to an Xcode version, but making it so that it at least covers a reasonable base, which means that the minimum is Snow Leopard and either 4.0/4.1.
Posted on September 06, 2012 at 3:08 PM
|
