In Sprite Kit you don’t have access to texture data.
Instead you’d have to create a bit mask from the image, for example by loading the image as UIImage or CGImage and scanning for all non-transparent pixels.
More Related Contents:
- iPhone/iOS JSON parsing tutorial [closed]
- How to dismiss keyboard for UITextView with return key?
- Has anyone implemented the PayPal API through a native iPhone app?
- Why do you use an underscore for an instance variable, but not its corresponding property? [duplicate]
- UILongPressGestureRecognizer gets called twice when pressing down
- Landscape Mode ONLY for iPhone or iPad
- Save Youtube video to iPhone in the app
- Converting & to & in Objective-C [duplicate]
- Draw part of a circle
- UITextField format in xx-xx-xxx
- How does the iOS app Display Recorder record the screen without using private API?
- Why does UINavigationBar steal touch events?
- How to use prepareForReuse method
- Pixel Width of the text in a UILabel
- The entitlements specified…profile. (0xE8008016). Error iOS 4.2
- How to write a simple Ping method in Cocoa/Objective-C
- Weird Switch error in Obj-C
- How to combine video clips with different orientation using AVFoundation
- Objective-C setting NSDate to current UTC
- Choose custom sound for local notifications
- What’s the difference between “bundle display name” and “bundle name” in cocoa application’s info plist
- How to set a custom font for entire iOS app without specifying size
- How to recognize swipe in all 4 directions?
- iOS Stream Audio from one iOS Device to Another
- How to use pList in iOS Programming
- Check for Internet connection using the iOS SDK [duplicate]
- Can’t add a corner radius and a shadow
- Command /Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
- iPhone : How to set BackgroundColor of UIButton with buttonType UIButtonTypeCustom
- How to animate application icon in iOS?