If I create a UIImage and display it using a WKInterfaceImage it always displays the image as @1x instead of @2x resulting in a pixelated image. It worked fine with watchOS 1. How to fix this behavior with watchOS 2? The same code works fine on iOS with a UIImageView.
WKInterfaceImage and dynamic images on watchOS 2
318 Views Asked by Berry Blue At
1
There are 1 best solutions below
Related Questions in APPLE-WATCH
- Apple Watch: WKInterfaceLabel doesn't update on device, but fine on simulator
- Display both alertTitle and AlertBody on a custom WatchKit notification
- Handoff icon not disappearing from the phone
- Cocoapods library not found for apple watch extensions
- Programmatic Access to Apple Watch Crown
- Why is willActivate called twice when watch app enters foreground?
- Apple Watch and iphone communication
- How to remove a partially installed app on Apple Watch
- change initial interface controller in watchKit
- Segue must be modal with page navigation
- In Xcode I see (no paired Apple Watch) even though the watch is paired and the watch's UDID is registered
- How to handle this error when requesting data from watchkit
- How to hide API keys in GitHub for iOS (SWIFT) projects?
- Apple watch clear images caching
- Why does UIAlert generated by UILocalNotification display "Options" instead of action title?
Related Questions in WKINTERFACEIMAGE
- Check if image with name is set (WatchKit)
- Proper way to cache animated image in Apple Watch?
- Optimal image size for icon in Watch app table row
- Loading a UIImage in WatchKit from a different Bundle
- Download images in a Table in watch kit async
- Passing a UIImage from phone to watch is not working
- How can I change frame or size of WKInterfaceImage object for Apple Watch?
- How to run a animated Gif directly by assigning it to Wkinterfaceimage using watchkit in Xcode?
- WatchKit: How to animate Images stored in Nsmutablearray dynamically in objC
- image by url for Apple Watch
- How to change image mode of WKInterfaceImage programmatically ?(objective C)
- Apple Watch 3px minimum left/right padding/margin?
- Images on apple watch
- CGImageCreateWithMaskingColors Does Not Mask on Apple Watch in WKInterfaceImage
- How can I transform an image for Apple Watch?
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?
Here is the solution for creating the image from an
NSDataobject on the Apple Watch at the correct screen scale.