Question

I am trying to load the images received from a contact in iMessage, but I have not found in iOS SDK to do this.

  • Load the contents of incoming iMessages.
  • Load the images received by iMessage.

Someone who knows how to help me?

Was it helpful?

Solution

This can not be done with on iOS with the iOS SDK. Due to privacy concerns Apple does not allow access to any messages received via the messages.app.

OTHER TIPS

If you're looking to pull images directly from the Messages app, then no you can't do that. If however, you're okay with only viewing the images that the user has chosen to save to the camera roll, then yes you have a few options.

You can use the UIImagePickerController class to allow the user to select photos from their camera roll, or the AssetsLibrary Framework to get references to these images without the user selecting them. Both solutions do require the user granting you access to the camera roll though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top