Questions tagged [xcasset]

An image asset catalog is an asset management file type and editor in Xcode 5.

Xcode 5 asset catalogs manage images and icons in multiple resolutions. An asset catalog is a new asset management file type and editor in Xcode 5.

You use asset catalogs to store and manage images for different platforms, devices, and scale factors. The catalog presents the image variants required, and provides you with the ability to define slice and stretch points for images that are resized at runtime.

For more information on Xcode Asset Catalogs, refer here.

235 questions
3
votes
1 answer

iOS Image Asset sizing. Is 3x actually 3 times the 1x size and is Retina 4 2x required?

I'm trying to wrap my head around everything and to make sure I do everything properly. I've been looking at The Ultimate Guide to iPhone Resolutions and want clarification on 3x and Retina 4 2x. For 3x, apparently the images get downsampled. I…
David
  • 7,028
  • 10
  • 48
  • 95
3
votes
3 answers

Why does Xcode ignore my .xcassets larger sizes for my app icon in an OS X app project?

I am tearing my hair out trying to set up a custom icon for my OS X app. I have created all of the image files…
bhaller
  • 1,803
  • 15
  • 24
3
votes
2 answers

Error submitting to iTunes. CFBundleIcons: AppIcon120x120

I've got the following error when I submit my app to iTunes with Xcode: “Ivalid image path – No image found at the path references under key 'CFBundleIcons': 'AppIcon120x120'” I'm using xcassets for app icons.
Pavel Alexeev
  • 6,026
  • 4
  • 43
  • 51
3
votes
3 answers

Xcode 6 Migrating to Images assets issues -- Black launch screen

I updated my application to use Image Asset for App Icon and Launch Images i set both with appropriate image size according to Apple Doc. The issue that I have that for Iphone and the simulator for (4S/5/5S) the launch…
user519274
  • 1,074
  • 1
  • 11
  • 22
3
votes
1 answer

images.xcassets Launchimage sizes for iOS8? Retina HD5.5, Retina HD 4.7 and Retina 4

WHat are the LaunchImages Sizes for IOS8? What is Retina HD5.5, Retina HD 4.7 and Retina 4 ? sizes? and at what DPI ?? 72 I presume? A link to apple docs would be great as I cannot seem to find it.
Mike Zriel
  • 1,575
  • 1
  • 17
  • 28
3
votes
0 answers

ios xcassets with subfolders

In xcode 5 I can create sub folders in in xcassets. However I am not sure how to access the UIImage later. -low --- test.png -medium --- test.png -high --- test.png I would think that I would be able to do something like this: UIImage *image…
lostintranslation
  • 23,756
  • 50
  • 159
  • 262
3
votes
2 answers

Images.xcassets AppIcon and Launch image

I am trying to learn the new way to add icons and Splash screen to iPhone applications (asset catalog). The new Images.xcassets kind of tripped me up at first but then I started getting the hang of it. There are even, at least, two different sites…
Patricia
  • 5,019
  • 14
  • 72
  • 152
2
votes
0 answers

Swift - Using SVGs and proper scale UIImage / UIBarButton

I just updated all of my icon asset files from .pdf to .svg. Unfortunately, now I'm having strange scaling issues when using the svg images. It appears that the only way they scale correctly is when used inside of a view that has autolayout. (ie…
StonedStudio
  • 507
  • 3
  • 20
2
votes
2 answers

Can't save .xcasset file in Visual Studio

I am making an app with Xamarin.iOS in Visual Studio on Windows. When uploading the app to the App Store I get following warning: Missing App Store Icon - iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon…
Nesh
  • 147
  • 1
  • 7
2
votes
2 answers

How to switch between multiple .xcassets files

We have 3 targets for 3 different apps offering similar sets of features but different UI. all these 3 targets are having different .xcassets files. But now as per Apple 4.3 guideline, they are asking us to create one container and handle different…
Praful Kadam
  • 372
  • 6
  • 22
2
votes
0 answers

Image assets and NSImageView

I have a macOS project, and I want to display a static image. I'm always annoyed with image assets and Image View. First, I imported an image in image assets, but I couldn't select the name in the NSImageView in IB. So, I typed directly the name,…
FredericP
  • 1,119
  • 1
  • 14
  • 27
2
votes
2 answers

Xcode: image size at @1x is never been use

Following the answers in this post I have created this 3 images and I add the images to the assets: The image should render @ 100x100: @1x -> 100 * 100 @2x -> 200 * 200 @3x -> 300 * 300 But here is my question to you when is the @1x is been use…
user2924482
  • 8,380
  • 23
  • 89
  • 173
2
votes
3 answers

Xcode archive error: Command actool failed with exit code 255

I got this error when archive app after upgrade to Xcode 9.3. Here are some investigate result: Archive existing project, compile xcassets error Remove all image in xcassets, archive success Create new project and add image to xcassets, archive…
nhuanvd
  • 163
  • 1
  • 3
  • 6
2
votes
1 answer

Xamarin Forms iOS - Display image from asset catalog

I know that there are serveral questions on SO covering the topic, however, so far they didn't help me to solve the problem. I want to display an image in xamarin forms. On android it works, on iOS the image wont show up. I use asset catalog to…
user2074945
  • 537
  • 2
  • 8
  • 22
2
votes
1 answer

How can I add a fullscreen image for iPhone X to xcassets (not a launch image)?

I have a background image in my landscape app which covers the entire screen. I have added it to xcassets using @1x, @2x and @3x as usual. On all devices, except for the iPhone X, the image displays correctly. However, because the iPhone X has a…
Eatton
  • 455
  • 4
  • 20