In Images.xcassets under New Image Set i'm going to use device specific to get the same image for different sizes. I'll be using iPhone 2x, Retina 4 2x, 3x and iPad 1x, 2x. If for iPhone 6+ I want to make an image 40x40 Pixels @3x and for iPhone 6 I want to make the image 30x30 pixels @2x, am I not allowed to do that, is the image supposed to be only 20x20 for 2x? Can I just put both images for example 50x50 one in 2x and other in 3x or is this not allowed?
Confusion on what pixel size to set in new image set
663 Views Asked by AudioBubble At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in XCODE
- Using Storyboard Reference
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Error when creating UIImage
- fade in an bounce animation subview
- How to delete static library ".a" file from xcode project?
- Error in main.storyboard
- Is the compiler Xcode uses to produce Assembly code a bad compiler?
- Using paths bonded to a XCode project to be shared
- How to set the time of Local notification in app to random between two times? (swift)
- "Invalid Signature, code object not signed at all" error
- Alarming memory increase with custom segue
- Display both alertTitle and AlertBody on a custom WatchKit notification
- How to make a CocoaPods project work on OS X El Capitan & Xcode 7 Beta?
- Cannot use CTRL+Drag for making a button action in Xcode?
- Labels properties changing in Xcode
Related Questions in RESOLUTION
- CSS Different screen resolution
- SpriteKit images out of focus
- When do we use media-queries "resolution" in css?
- How to change dynamic video resolution during a call (in hangout WebRTC)
- What is today's most popular screen resolution?
- LibGDX what resolution should I draw my Images (PoT or can i choose?)
- Iphone app only won't run at the right resolution on ipad
- screen resolution and scrolling bar
- Android. How can I make an ImageView draw itself as a PNG?
- Running iPhone apps on ipad in full resolution
- Android: PrintedPdfDocument Resolution has no effect
- Xamarin Forms Android display pictures throws Exception
- In what Units does QSvgGenerator operate in?
- AVMutableVideoComposition image overlay low quality
- Increasing image scale and maximizing resolution using opencv?
Related Questions in ASSET-CATALOG
- Can't retrieve non jpg/png files from the Asset Catalog in Xcode 7
- Loading different Asset Catalogs based on Build Configuration?
- Asset catalog image slicing in Spritekit
- Getting videos from Assets catalog using On Demand resources
- Including Asset Catalogue in Test Targets
- Framing images properly with new @3x frames
- Incorrectly rendered UIButton’s image property using asset catalog and size classes
- Xcode 6.1 Warning about Launch Image in Asset Catalog
- How to access image resource in asset catalog from UIWebView (or WKWebView)
- Xcode 6 - Make Asset Catalog automatically recognize PDFs
- Swizzling NSBundle for reskinnable demo
- Creating CPTImages from images in xcassets file
- Use images on Asset Catalog in Interface Builder
- Asset Catalog images inside a UIWebView
- Image.asset causes app size increased
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Your images have to be exactly the right size, you can't give it any other size.
So
30x30@2xmust be a60pxby60pxpng file, and40x40@3xmust be120pxby120px. You multiply the width/height by 2x, and the same for 3x.