I'm trying to create a screen in the options menu for my app where the user can select from one of several pre-determined profile pictures. The problem I'm having is that I can't figure out how to load the images for selection from a BundleResource. The UIImagePickerController seems to only allow me to pick images from the Photo Library or Camera. I want the name of whatever image they choose to be stored in a variable and then used throughout the app so I need a way to determine which image they've selected. Is there way to use a custom data source for the UIImagePickerController, or is there an even better way to go about achieving what I want? Thanks.
↧