其他语言版本: 简体中文
The Agora RTM Tutorial macOS Objective C Sample App is an open-source demo that will help you get message chat integrated directly into your iOS applications using the Agora RTM SDK.
With this sample app, you can:
- Log in / log out
- Send and receive Peer-to-Peer message online
- Join / leave channel
- Send and receive channel message
First, create a developer account at Agora.io, and obtain an App ID. Update "AppId.swift" with your App ID.
return <#YOUR APPID#>;
Next, download the Agora RTM SDK from Agora.io SDK. Unzip the downloaded SDK package and copy the "libs/AgoraRtmKit.framework" file to the project folder's sub path "Agora-Rtm-Tutorial/AgoraRtmKit.framework".
Finally, Open Agora-RTM-Tutorial.xcodeproj, connect your iPhone/iPad device, setup your development signing and run.
- XCode 8.0 +
- You can find full API document at Document Center
- You can file bugs about this demo at issue
The MIT License (MIT).