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
0
votes
1 answer

After upgrading to Xcode 6, CALayer positions have changed

My app uses a lot of programatically positioned CALayers and I use image asset catalogues for all my images. Last night, I upgraded to Xcode 6 to start preparing the app for iPhone 6. However, when I checked in the simulator none of the CALayers…
pingin
  • 482
  • 1
  • 6
  • 19
0
votes
3 answers

@3x are not shown in Xcode 6

I'm notice when I've have installed the Xcode 6 (GM) and I load a project from Xcode5, in the Images.xcassets file the @3x option is not shown for any image with Universal Devices.
xarly
  • 2,054
  • 4
  • 24
  • 40
0
votes
0 answers

iOS 8.0 AppIcon image where does it reside Xcode 6 xcassets doesn't have it

Are they waiting for non-beta to be able to add this icon or does it reside somewhere else? Thanks
ImpactZero
  • 547
  • 4
  • 8
0
votes
1 answer

XCode 5.1 Assets Catalog Size

I created an asset catalog for my ios cordova app. The .xcassets folder seems to be working, however I cannot delete the image files from my resources folder. This is causing my app to be 14.5 MB in size (which seems like a lot). How can I have my…
Jaiesh_bhai
  • 1,778
  • 8
  • 26
  • 41
0
votes
1 answer

IOS - Importing feed images - Retina support

We are currently building an IOS app, part of the functionality involves importing images from an external CMS to be displayed in a news feed. We need to make all images conform to retina standard but aren't quite sure how to go about this. For…
Dancer
  • 17,035
  • 38
  • 129
  • 206
0
votes
1 answer

Drawing a UIImage using CoreGraphics that uses capInsets to grow the image

Assume I have an image stored in Images.xcassets that is sliced; ie its capInsets property is set and I want to draw that image larger than its actual size in CoreGraphics. How do I do this? Do I have to use the capInsets property to manually slice…
Quentin
  • 3,971
  • 2
  • 26
  • 29
0
votes
1 answer

Getting image from xcassets with pixate

I am using xcassets to store my images, but I am having some issues to get images using pixate. If the image is outside xcassets I can use something like background-image: url(image.png); without any issue but this doesn't work with xcassets. Any…
fnxpt
  • 434
  • 3
  • 13
-1
votes
2 answers

Wrong UIImage being rendered

I am using a custom image asset for my navigation item left bar button item, but the wrong image is being rendered. In my Assets.xcassets folder, I have this image loaded: And in my viewWillAppear method for the view controller, I execute this…
BlondeSwan
  • 772
  • 5
  • 26
-2
votes
1 answer

Filename for an image in Assets.xcassets

How do I get the filename for an image stored in Assets.xcassets? I've an image named "default" in an "Avatars" folder in my xcassets. How do I get the filename for this image if possible? I need the filename to send to a server.
Robert J
  • 11
  • 1
-2
votes
3 answers

Application icon size in iOS

What should be the application icon resolution in Xcode ? I couldn't find the sizes for 2x and 3x.
Bengi Besçeli
  • 3,638
  • 12
  • 53
  • 87
1 2 3
15
16