- A quick reminder of how easy the image picker controller is in iOS.
- Which will probably make you see that iOS 10 now requires “purpose strings” for access to sensitive information.
- So how do you ask for access to the camera and the photo library?
- And if you’re not granted access how do you ask the user if they want to go to settings to change it?
- How do you know if the camera is even available? Some iOS devices do not have cameras.
- Something that isn’t so easy but is quite powerful is the alert controller API.
- You can use storyboards to place Sprite Kit scenes.
- Whenever you have an error, use this technique to fix it. I’m sure it’ll be fine!
- You can set all of your button’s state using Interface Builder, but it is a huge pain to keep them all up to date so I really recommend keeping a theme subclass.
- Of course, this requires using an image for some peculiar reason, so use this technique to produce an image from a color.
- I needed to be able to segue from one view controller to that same view controller. Doesn’t seem to be well supported, unfortunately, so I did it programmatically.
- Sprite Kit has its own labels, but for some reason they’re not multiline …