Default.png:s in iOS 7 - ios7

How do we define default pngs in iOS 7? The how-to seems to have changed with Xcode 5.
This time I'll not be supporting anything less than iOS 7 so we can leave older version out of the discussion.

You'll want to learn about Asset Catalogs, which are brand new developer technologies that you'll find in Xcode 5. Under the hood, these will be the new ".xcasset" files & folders managed by Xcode.
And that public link from Apple that I just linked to is all we can talk about publicly outside of Apple's DevForums until the NDA for iOS 7 and Xcode 5 is lifted. I have seen a couple related questions, though.

To solve this issue you have to specifically add background images for iOS 6, Follow following steps to add this using new xCode.
1) Add new image set from asset catalog and name it "Default" image set
2) Right click on that asset catalog image.
3) Choose iPhone, Retina 4 - inch from options like following
4) Add images in sequence with resolutions
320 * 480
640 * 960
640 * 1136
5) Clean your project
6) Run your project
Try this way it will work

Asset Catalog is the best thing for setting application icons... It removes the need to follow naming conventions when you are adding or updating your app icons...
You can use this for setting splash screens & application icons..
In Xcode 5 you can find this options..
1- In the project navigator, select your target.
2- Select the General pane, and scroll to the App Icons section.

Related

iTunes reject App Store Icon in tvOS 11 and Xcode 9

I faced with a problem in Xcode 9 (works fine in Xcode 8 before).
I can't upload tvOS build because of incorrect image asset for App Store icon.
But App Store icons have exactly 1280x768 size and 3 layers.
I was able to upload build to iTunes before with Xcode 8.
But now I receive such error:
ERROR ITMS-90718: "Invalid Image Asset. The App Store Icon must only
contain an image with size (1280pt × 768pt #1x). Refer to
https://developer.apple.com/tvos/human-interface-guidelines/icons-and-images/app-icon
for more information"
Do you happen to have also 2x version of your assets in the Xcode? I had this same issue than you and I was somehow presuming that I would need to provide also 2x version, but once I removed that and only have the 1x, the upload succeeded!
What worked for me was providing x2 versions for App Icon Small, Top Shelf Image, Top Shelf Image Wide, but NOT for App Icon Large. Can't understand what Apple are doing with this.
I also added a 2x version of the icon. And had the same error. Deleting the 2x version helped. It works ;-)
In my case, I hadn't added 2x images. After adding 2x images, this issue was fixed.

Xcode 6 storyboard screen size wrong in iPhone5s(iOS 7) but not (iOS 8)

I created a new project with xcode 6.0.1 using swift and set deployment target to iOS 7.0.
The screen size is wrong for iPhone 5s in iOS7 - it shouldn't have any black spaces.
In new Xcode 6 projects, you don't have these Default-568h#2x.png images.
Do the next steps to fix it:
1) Open your Images.xcassets and look for LaunchImage. It is probably missing.
2) In this case, click on + (located at the bottom) and click on New Launch Image.
3) Select your project target and open Build Settings tab. Look for "Asset Catalog Compiler - Options" section and then "Asset Catalog Launch Image Set Name", if it is empty type LaunchImage.
Voila!
Try using Default-568h#2x.png image as splash.
Project Properties -> General -> App Icons and Launch Images -> Click (Use Asset Catalog)
Pop-up -> Click (Migrate)
Delete (Launch Screen File)
Finish!!!
In Xcode 7, make sure in addition to what's been said about adding a LaunchImage you also add this entry in the plist file:
I imagine this won't help much, but I have exactly the same problem and found this link. Maybe it helps you, I coulnt find the answer:
Xcode 6 Storyboard the wrong size?
put Default-568h#2x to your app bundle with dimension 640x1136. You can assign launch images using xcode catalog assets alternatively.
Under project properties, ensure you are using the "asset catalog" for launch images. I found my project was using a custom location by default. By switching over to "Use Asset Catalog", the top/bottom black margin went away.
I was facing this problem in XCode8. I figured it out that Launch Screen File was not set.
Go to :
project Properties -> General -> App Icons and Launch Images
Click on drop down and select
Main.storyboard.
This issue is solved when you add the Splash screens for Defualt#2x.png and Defualt-568h#2x.png

iOS 7 Newsstand default cover is not set

Since iOS7 the default cover that is set in the info.plist under Icon Files (iOS 5) are not shown after installation the app. Instead the default cover by Apple is shown.
I can see that this property is for iOS 5 but I tried other as well. An example - Icon Files could not be changed from an Array to a Dictionary.
Do you know how to set a default cover for Newsstand app in iOS 7?
Best Regards!
OK i got the solution.Add Icon files (iOS 5) if you didnt add previously in your app-info.plist. Make sure that the long edge on your default cover is at least 512 px. ( Mine is 300 * 528 px)
Please see screenshot:
check the references for the icons you are using in the .plist, make sure they are added as reference to the image and not as references to a folder like the references for the launch images and the icon images
Try to remove "App Icons Source" catalog. In Target=>"General" tab.

Launch Images in iOS7 not appearing

I'm having all kinds of fun and games with trying to get launch images to appear in Xcode5/iOS7.
I'm using the Sparrow framework but this is an issue I think just to do with XCode5/iOS7.
I don't seem to be able to get Default-568h#2x.png to appear. I can get Default#2x.png to appear but not the 568 version. I Add the 568h file to the assets folder (in system), I then go into the general tab and click on the little folder icon and add it in, and it appears when I click the eye icon. And there is an entry in the UILaunchImages object for it with the launch name being correct "Default-568h". When I run the 4 inch simulator it's just a black/blank screen on loading.
The only thing I can think of is that the other UILaunchImages objects are somehow linked? and that it just takes 1 default name and runs with it so to speak? but then that means you just have to name everything the same name, but with different resolutions??
Update
Been reading this...
Launch Images in iOS 7 with Xcode 5
Looks like there are issues with using launch images. Going to try to use an Asset Catalogue.
Update 2
So far using the Asset Catelogue is not work for 568. Still works fine for 640x960, but even though I've dragged in the Default-568h#2x.png into the R4 slot, when I run the iPhone 5 sim, nothing is showing.

Location of iTunes/Xcode 4 icons?

I've been looking for the Play icon shared by iTunes and Xcode, plus others and can't find them. This reply seems to apply to Xcode 3 but not Xcode 4.
The image resources are located within private frameworks inside the following folder:
/Xcode4/Library/PrivateFrameworks/
(Note, your path may differ if you chose to install Xcode 4 at the default location, /Developer/).
IDEKit.framework seems to have most of the new UI-related images in vector (PDF) form. There's also XDInterface.framework and DevToolsInterface.framework.
I don't know the exact location, it's not in the Resources folder.
If you only need the play button, use NSToolbar and NSToolbarItem with this PNG.