SDKsiOS
Create a location message
Create a location message with OpenIM iOS SDK.
OIMMessageInfo *message =
[OIMMessageInfo createLocationMessage:@"Pudong, Shanghai"
latitude:31.2304
longitude:121.4737];The arguments are the location description, latitude, and longitude. Obtain the user's permission first and control location precision according to your privacy policy. This selector only creates an object to be sent.
Was this page helpful?