asset-catalog Questions
1
I am trying to use Apple App Thinning feature (available from iOS 9) that let you differentiate resources based on device architecture and features. In my case what I would like to do is to have a ...
Menzies asked 19/10, 2017 at 8:51
1
At WWDC 2017 Session 201 What's New in Cocoa Touch, around the 33:50 mark, it is stated that "By incorporating [icons] in Asset Catalogs, we're now able to have them participate in the app thinning...
Astrology asked 14/8, 2017 at 0:16
2
Solved
I understand that to get images from the asset catalog i can use UIImage(named: "fileName") to do it.
however, what if i am getting DATA from the XCAsset catalog? I can't figure this out.
I have ...
Newton asked 26/10, 2015 at 16:43
1
Solved
I've noticed that since iOS 11, the App's "App Icon" asset in the catalog must include a 1024x1024 sized version in order to be submitted to the App Store.
I know that the 1024x1024 icon was prev...
Feature asked 22/9, 2017 at 1:7
2
In one of my XCTests classes, I need to load up an image from an asset catalogue to test an image processing logic. However, it seems like using UIImage(named: "imageName") returns nil in the testi...
Dad asked 20/12, 2016 at 5:8
6
Solved
I cannot for the life of me get this to work. Here's what I'm doing:
Create a brand new project for iPhone.
In Project > General, project is already set to get app icon from the default asset cat...
Preconize asked 11/9, 2014 at 3:22
4
Solved
I would like to dynamically load all images in an xcassets directory. The files are named StockPhoto# where # is the number in the list. If I can access my StockPhotos.xcassets at runtime to count ...
Eyecup asked 20/3, 2014 at 0:12
6
Solved
I'm getting this error:
Looking in the LaunchImage.launchimage folder I have a [email protected] but not a Default-568h.png image.
There doesn't seem to be a space for one so how do I add...
Syncretism asked 23/3, 2015 at 12:59
3
I am using Asset Catalog that includes images of both: 2x, Retina 4 2x and 3x. All of those files are used in the correct devices iPhone 4, 4s => 2x, iPhone 5, 5s => Retina 4 2x, iPhone 6+ => 3x , ...
Fiertz asked 2/11, 2014 at 18:57
5
Solved
With the need of 3x images in iOS 8 I figured it would be easier to manage images with an asset catalog in Xcode 6. I am trying to just provide a single image, the 3x scaled image to the asset cata...
Gerlachovka asked 15/9, 2014 at 2:22
2
Solved
In xcode 7 these is no retina 4 option, according to this, apple removed it on purpose. I did edit Contents.json to get it back but the effect is not the same! I remember in XCode6/pre-iOS9 iPhone ...
Highminded asked 29/10, 2015 at 5:42
9
Solved
In Xcode 5, I use the asset catalog to manage the app icons and launch images for my app. The app icons work fine on all devices, but the launch images just on a few.
I have added launch images fo...
Sawn asked 17/10, 2013 at 10:25
2
Solved
When I run my SpriteKit game, I receive this error multiple times in the console. As far as I can tell (though I'm not completely sure), the game itself is unaffected, but the error might have some...
Androsphinx asked 16/12, 2015 at 0:50
2
Solved
So since the new iPhone 6/6+ came out, I'm a little confused as to how to handle the asset catalogs for a background image.
The options are:
iPhone 1x (320x480)
iPhone 2x (640x960)
iPhone R4 (64...
Buseck asked 1/10, 2014 at 5:11
3
Solved
I attributed the tag "tokyo" to my .mp4 video, and set it as installed during the app installation.
Originally, I was using a path to load it from my resources, however, now it's differen...
Najera asked 22/6, 2015 at 10:37
3
Xcode offers asset buckets for 1x, 2x, 4" 2x, and 3x assets. My fullscreen assets are all wonky with this configuration, because the 2x bucket is used for 3.5" and 4.7" screens. Currently I have a ...
Kizzykjersti asked 6/10, 2014 at 15:37
1
In their documentation apple states that -
You can share asset catalogs across multiple projects in the same workspace.
I have a project in a workspace with multiple targets and an other proj...
Hamid asked 26/7, 2015 at 13:43
5
I'm trying to update my app for the new 6 and 6+ devices.
I've added launch images for the new iPhone sizes (6 and 6+). There are entries in the asset catalog for both the 6 and 6+. No problem the...
Thralldom asked 21/9, 2014 at 0:49
1
Solved
I tried using the new PDF feature of XCode that basically scales the image to 1x, 2x, and 3x. Unfortunately I'm also using Spritekit, so I'd rather use SKTextureAtlases than the Asset Catalog.
My ...
Deplume asked 3/8, 2015 at 17:4
3
Solved
Is there a way to change the background color of the xcassets view in Xcode 5 or Xcode 6?
I have white images that are lost on the white background.
When viewing an image without using xcassets, ...
Quality asked 2/12, 2013 at 0:1
1
Solved
I have an Image Set called "SmileyFace" which contains a 1x, 2x and 3x image sizes. I want to copy to pasteboard a specific size from the image set. How do I reference the 1x, 2x or 3x programmatic...
Antislavery asked 22/4, 2015 at 16:49
4
Solved
I have a project with multiple targets. Assume the targets are named Target-A, Target-B and so on. For every target I have a different asset catalog of App Icons. They are named as AppIcon - A, App...
Jamisonjammal asked 21/10, 2013 at 7:32
1
I have a project using an asset catalog and recently without any change on my part, the images are just not displaying. It displays this error:
2014-06-23 21:41:02.824 Project[8247:464100] CUICata...
Na asked 23/6, 2014 at 22:55
2
Solved
When iPhone 5 first came out we had to go through the silliness of adding a [email protected] to the project to get the app to use the full height of the iPhone 5. In late 2014 are we still do...
Besought asked 11/9, 2014 at 20:21
3
Solved
I have really large number of images just in Images folder of my project (just @1x and @2x.png files). It's time to support @3x displays and I've decided to move to assets catalog. Are there any to...
Foliolate asked 5/11, 2014 at 6:54
© 2022 - 2024 — McMap. All rights reserved.