SDKsiOS
Create an image message from a local path
Create an image message from an absolute path with OpenIM iOS SDK.
OIMMessageInfo *message =
[OIMMessageInfo createImageMessageFromFullPath:imageURL.path];The path must be an absolute image path readable by the current application. Send the returned object through the regular sending API so the SDK can upload and send it.
Was this page helpful?