Home app icon is not showing up properly on my iphone 6 device. It is completely black - ios

The home app icon is not showing any of my images from xcassets. It only shows a black background.
So far, I've tried cleaning and rebuilding after deleting the app on my device. I've tried uploading different images with the same effect. I've also tried adding the icon files directly into the plist with the same effect.
Here's what it looks like
Link to xcassets img
Sorry, due to my low reputation, I was neither able to upload images nor post more than 2 links. Any help would be greatly appreciated.

Delete your previous Appicon image set and create a new one.
In Images.xcassets press the "+" -> "App icons and launch images" -> "New iOS App icon". Then add your images with the right sizes(very important to have the exact right sizes). Make your images png format.
Look at this guide to get the right sizes: iOS Human Interface Guidelines
Hope this helps.
Edit:
From the iOS Human Interface Guidelines:
Avoid transparency. An app icon should be opaque. If the icon’s
boundaries are smaller than the recommended sizes—or you use
transparency to create “see-through” areas—the resulting icon can
appear to float on a dark background, which tends to look especially
unattractive on the beautiful wallpapers that users choose.

Related

I can't create a splash screen for a Flutter app, using Xcode for iOS

I read lots of articles about the Splash Screen and how to create it in Flutter but almost all of them are deprecated now. Neither one worked for me, and I did try by myself, but the Splash Screen is not displaying, instead is displaying a white background.
I found out a package which could make my life easier, but I think it's better to create the Splash Screen as it is created from the official documentation.
As I understood, I opened the Runner.xcworkspace folder in Xcode. After that I uploaded 1x, 2x, 3x images which were the logo with transparent background. (I used the same size)
I didn't find the real sizes for 1x, 2x, 3x images anywhere for 2021/2022. A few people put there full images, while the others put only the logo.
I decided to change the background color from the View property as in the image below and I've fixed the image with the drag option and I am pretty sure that it's not a good approach.
So, even if I created somehow the Splash Screen, it is not rendered on the devices. I restarted the emulator, deleted the app and didn't work for me.
The question is, how to create Splash Screen for iOS in a correct way and why it is still a white background?
Edit: I managed to display the Splash Screen selecting this property in the image above, but as I expected, it is not rendered well. So the question remains: how to create Splash Screen for iOS in a correct way?
Edit 2: The logo is now centered by autoresizing arrows from Size Inspector, but after 1 second it is resizing between 1x, 2x, 3x. Also, I used 3 constraints.
Chose your logo and click here:
image
Use alignment constants and set your logo 0 horizontally and 0 vertically. (Be sure you have chosen your logo file). Click "Add 2 Constants" It will show your logo in a centre at every Apple device.

iOS how to set app icon and launch images

How do I set the images so that I can archive and validate my app? The screen looks like this now:
So the first one says 29pt, but then it also says 2x. So do I put a 29x29 image or a 58x58 image? And where do I put all of the other ones? (I know that there are more sizes than 29, 40, and 60).
Anyway, what I tried was I dragged a 29x29 png onto the first slot, a 40x40 onto the second, and a 60x60 onto the third and fourth. When I went to Product->Archive, I get
/Users/kendon/Documents/iPhone Apps/Sales Tool/Sales Tool/Images.xcassets: The app icon set named "AppIcon" did not have any applicable content.
I recently found this App called Icon Set Creator in the App Store which is free, without ads, updated on new changes, straight forward and works just fine for every possible icon size in OSX, iOS and WatchOS:
In Icon Set Creator:
Drag your image into the view
Choose your target platform
Export the Icon Set folder
In XCode:
Navigate to the Assets.xcassets Folder
Delete the pre existing AppIcon
Right click -> Import your created Icon-Set as AppIcon and you're done
Update: Unless you love resizing icons one by one, check out Schmoudi's answer. It's just a lot easier.
Icon sizes
Above image from Designing for iOS 9. They are the same for iOS 10.
How to Set the App Icon
Click Assets.xcassets in the Project navigator and then choose AppIcon.
This will give you an empty app icon set.
Now just drag the right sized image (in .png format) from Finder onto every blank in the app set. The app icon should be all set up now.
How to create the right sized images
The image at the very top tells the pixels sizes for for each point size that is required in iOS 9. However, even if I don't get this answer updated for future versions of iOS, you can still figure out the correct pixel sizes using the method below.
Look at how many points (pt) each blank on the empty image set is. If the image is 1x then the pixels are the same as the points. For 2x double the points and 3x triple the points. So, for example, in the first blank above (29pt 2x) you would need a 58x58 pixel image.
You can start with a 1024x1024 pixel image and then downsize it to the correct sizes. You can do it yourself or there are also websites and scripts for getting the right sizes. Do a search for "ios app icon generator" or something similar.
I don't think the names matter as long as you get the dimensions right, but the general naming convention is as follows:
Icon-29.png // 29x29 pixels
Icon-29#2x.png // 58x58 pixels
Icon-29#3x.png // 87x87 pixels
Launch Image
Although you can use an image for the launch screen, consider using a launch screen storyboard file. This will conveniently resize for every size and orientation. Check out this SO answer or the following documentation for help with this.
Useful documentation
App Icon
Launch Screen
The Xcode images in this post were created with Xcode 7.
To save a bit time:
1) You can mark your app icon images all in finder and drag them into your Assets catalog all at once by dragging into one of the empty slots of the app icon imageset. When you hold your drag over the slot, several of the other slots look selected and when you drop those all will be filled up at once. Note that this works in XCode 8 (I haven't tried XCode 7), but in XCode 9 beta not yet.
2) The "Technical Q&A QA1686" apple documentation site has the sizes per app icon slot already calculated for you in a nice image and also contains the correct image names conventions.
I've tried most of the above and a few others and have found https://appicon.co to be the easiest, fastest, and provides the most comprehensive set.
Drag your image onto the screen
Click Generate
Open the file just downloaded to your Downloads folder
Here, you may be able to drag this entire folder into Xcode. If not:
Double-click the Assets.xcassets folder
Select all files
Drag them to Assets.xcassets
Rename it to AppIcon
The correct sizes are as following:
1)58x58
2)80x80
3)120x120
4)180x180
I use a tool called Prepo to produce all the right image sizes. You simply feed the app you image file and it will spit out each necessary file with an appropriate name.
Once you do this, you can then drag in the appropriate files or simply point to your Prepo exported folder.
Now a days is really easy to set app-icon, just go to
https://makeappicon.com/ add your image, they will send you all size of App-icon (Also for watch & itunes as well), now Click Assets.xcassets in the Project navigator and then choose AppIcon. Now you just have to drag n drop the icon as required.
I found App called Iconizer. You can find repository on github. Iconizer can generate app icons for OS X, iPad, iPhone, CarPlay and Apple Watch with just one image.
Simply Drag and Drop your icon onto Iconizer, select the platforms you need and whether or not you want all platforms generated into one asset catalog, then hit export.
After that just replace (delete and import) your AppIcon in the Assets.xcassets
In the left list, right click on "AppIcon" and click on "Open in finder"
A folder with name "AppIcon.appiconset" will open.
Paste all the graphics with required resolution there.
Once done, all those images will be visible in this same screen(one in your screen shot). then drag them to appropriate box.
App icons have been added.
Same process for Launch images.
Launch images through this process are added for iOS 7 and below.
For iOS 8 separate LaunchScreen.xib file is made by default.
I quite like this app made by Jordi Bruin called Bakery
It allows emoji and SFSymbols for quick prototyping (not for the App Store in this case!)
It is as easy as drag and drop your design to the app and then again drag and drop to the asset catalog without having to fill in all the sizes by hand.
This is a very frustrating part of XCode. Like many, I wasted hours on this when I switched to a newer version of xcode (version 8). The solution for me was to open the properties for my project and under the "App Icons and Launch Images" choose the "migrate" option for the icons. This made absolutely no sense to me as I already had all my icons there, but it worked! Unfortunately I now seem to have two copies of my launcher icons in the project though.
As per updated version(Xcode 8.3.3) I saw that below resolution are required for all fields of AppIcon sets.
40x40
58x58
60x60
80x80
87x87
120x120
180x180
It comes with hdpi, xhdpi, xxhdpi etc.
Hope it will helps others.
Edited to 120x120
You can easily do it without resizing yourself or doing anything, just choose your icon at an app store icon generator website
https://getappscreenshots.com/app-icon-generator and it'll generate all required files and all icon sizes so you can just copy the files and paste in your project's folder!
You can get away with just adding a single image of size 1024*1024px.
Just add the image in like so
and select single size in the menu to the right.

iOS - Icon Stretching on Startup

So when you want to get to an app, you have to click on the app's icon. When I do that, the icon itself stretches out to fill up the entire screen. Every icon suggestion I've read has opined that I make the icons 120X120 or some other version of a square image. I've done that, but so long as it's a square image if the app tries to make it fit into a rectangle it is going to stretch.
On top of that icon is the splash image with is rectangular and looks just fine, but I don't know how to tell it to not use the square icon behind it. Thoughts?
In case anyone comes across this for the 6+/7+ only, you need to have launch images for both portrait and landscape.
On opening the app, are you simply wanting to use the image used for your app icon to appear full screen for the splash/loading screen while it is being launched?
If this is the case, the app icon itself is not the image that will stretch, rather, you need to make a separate launch image of how you expect full screen size image to look. The app icon will display according the the image you have saved as the icon (correct HIG sizes/filenames) and then when it's loading, the app will automatically switch to display your launch image.
Please read this Apple information on Human Interface Guidelines (HIG) as it tells you what images will be needed and what to do.
I hope this helps answer you question.
Cheers, Jim.

Design Custom Icons for IOS Tab Bar

I was wondering how to create high quality custom IOS Tab bar icons. I've been following the Apple Human Interface guidelines and have made the 30x30px images they recommend in Illustrator.
For some reason the icons with curved edges get pixilated. I believe this has to do with the transparency I have to set. On icons I made that use nothing but straight lines there are no rough edges. See the icons below.
I was wondering if anyone knew of any tutorials or had instructions for making high quality icons for the tab bar that don't get pixilated when transparencies are added. I have the entire CS6 suite so I can use any program in there.
Thanks
Create #2x versions of the images which are 60x60 and see how they look.

Icons not showing on enterprise deploy

I added to png files called allegroicon.png ( 57x57 and 117x117 ) to make plist.
When clicking target I see the launch images and icons on the screen.
I also set the icon names in my plist.
When deploying for distribution I set the url images and I have tried without specifying them, but when downloading it just shows a grey icon.
On the Simulator I see my icon graphics.
What am I doing wrong?
After releasing the cache, I can see the icons and making sure their names or correct.

Resources