Commit 80be15d2 by zhangyunjie

1.0.0.5

parent 5b993632
......@@ -243,7 +243,7 @@
- (IBAction)disconnectAction:(UIButton *)sender {
//断开连接
[[OffcnIMSocketManager defaultService] disConnectIMServer];
[[OffcnIMSocketManager defaultService] disConnectIMServerForever];
}
//退出当前会话
......
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'OffcnIMSDKiOS'
s.version = '1.0.0.4'
s.version = '1.0.0.5'
s.summary = 'OffcnIMSDKiOS.'
s.description = <<-DESC
......
......@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h>
#import "OffcnIMModel.h"
static const NSString *OffcnIMSDKiOSVersion = @"1.0.0.4";
static const NSString *OffcnIMSDKiOSVersion = @"1.0.0.5";
typedef NS_ENUM(NSUInteger, OffcnSDKReachabilityStatus) {
OffcnSDKReachabilityStatusNotReachable = 0,
......
......@@ -38,9 +38,6 @@ typedef void(^OffcnIMReceiveConnectStatus)(OffcnIMConnectStatus status,NSString
@property (nonatomic, copy) NSString *msg_fromId;//发送消息的用户id
@property (nonatomic, copy) NSString *token;//发送消息的用户token
@property (nonatomic, assign) BOOL isManualDisconnect;//是手动断开的连接
@property (nonatomic, assign) OffcnIMConnectStatus IMConnectStatus;//连接状态
//收到消息回调
......@@ -64,11 +61,11 @@ typedef void(^OffcnIMReceiveConnectStatus)(OffcnIMConnectStatus status,NSString
/// @param token 用户token
-(void)connectIMServerWithAccount_id:(NSString *)account_id token:(NSString *)token;
//断开连接
-(void)disConnectIMServer;
//主动断开连接,不会重连
-(void)disConnectIMServerForever;
//重新连接
-(void)reconnectionIMServer;
-(void)reconnectionIMServerForever;
//后台收到消息本地推送
-(void)manualSendLocalNotificationWithModel:(OffcnIMModel *)model;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment