Commit 536a0d87 by zhangyunjie

1212

parent 09596a26
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'OffcnIMSDKiOS' s.name = 'OffcnIMSDKiOS'
s.version = '1.2.1.1' s.version = '1.2.1.2'
s.summary = 'OffcnIMSDKiOS.' s.summary = 'OffcnIMSDKiOS.'
s.description = <<-DESC s.description = <<-DESC
......
...@@ -19,16 +19,27 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -19,16 +19,27 @@ NS_ASSUME_NONNULL_BEGIN
//页面显示消失 //页面显示消失
#define kPageShowNotification @"kPageShowNotification" #define kPageShowNotification @"kPageShowNotification"
typedef void(^linkCallBack)(NSURL *URL);
@class OffcnIMContactInfoModel; @class OffcnIMContactInfoModel;
@interface OffcnIMChatInfoViewController : UIViewController @interface OffcnIMChatInfoViewController : UIViewController
//内部使用回调,勿用
@property (nonatomic, copy) linkCallBack linkCallBack;
//是否内部跳转
@property (nonatomic, assign) BOOL isInsideJump;
//联系人model //联系人model
@property (nonatomic, strong) OffcnIMUserList_listModel *contactInfoModel; @property (nonatomic, strong) OffcnIMUserList_listModel *contactInfoModel;
//滑动到底部 //滑动到底部
- (void)scrollTableToFoot:(BOOL)animated; - (void)scrollTableToFoot:(BOOL)animated;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
...@@ -31,6 +31,9 @@ typedef void(^OffcnIMTotal_unread_number)(NSInteger num); ...@@ -31,6 +31,9 @@ typedef void(^OffcnIMTotal_unread_number)(NSInteger num);
//返回联系人信息--userID为im的用户ID //返回联系人信息--userID为im的用户ID
-(OffcnIMUserList_listModel *)getContactInfoModelWithUserID:(NSString *)userID; -(OffcnIMUserList_listModel *)getContactInfoModelWithUserID:(NSString *)userID;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
//清空数据 //清空数据
-(void)clearData; -(void)clearData;
......
...@@ -19,14 +19,26 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -19,14 +19,26 @@ NS_ASSUME_NONNULL_BEGIN
//页面显示消失 //页面显示消失
#define kPrivatePageShowNotification @"kPrivatePageShowNotification" #define kPrivatePageShowNotification @"kPrivatePageShowNotification"
typedef void(^linkCallBack)(NSURL *URL);
@class OffcnIMContactInfoModel; @class OffcnIMContactInfoModel;
@interface OffcnIMPrivateChatInfoViewController : UIViewController @interface OffcnIMPrivateChatInfoViewController : UIViewController
//内部使用回调,勿用
@property (nonatomic, copy) linkCallBack linkCallBack;
//是否内部跳转
@property (nonatomic, assign) BOOL isInsideJump;
//联系人model //联系人model
@property (nonatomic, strong) OffcnIMUserList_listModel *contactInfoModel; @property (nonatomic, strong) OffcnIMUserList_listModel *contactInfoModel;
//滑动到底部 //滑动到底部
- (void)scrollTableToFoot:(BOOL)animated; - (void)scrollTableToFoot:(BOOL)animated;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
...@@ -21,6 +21,9 @@ typedef void(^OffcnIMPrivateChatTotal_unread_number)(NSInteger num); ...@@ -21,6 +21,9 @@ typedef void(^OffcnIMPrivateChatTotal_unread_number)(NSInteger num);
//返回联系人信息--userID为用户登陆ID;room_num为房间号 //返回联系人信息--userID为用户登陆ID;room_num为房间号
-(OffcnIMUserList_listModel *)getPrivateChatContactInfoModelWithUserID:(NSString *)userID room_num:(NSString *)room_num; -(OffcnIMUserList_listModel *)getPrivateChatContactInfoModelWithUserID:(NSString *)userID room_num:(NSString *)room_num;
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
//清空数据 //清空数据
-(void)clearData; -(void)clearData;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "OffcnIMModel.h" #import "OffcnIMModel.h"
static const NSString *OffcnIMSDKiOSVersion = @"1.2.1.1"; static const NSString *OffcnIMSDKiOSVersion = @"1.2.1.2";
//聊天详情头像点击事件通知 //聊天详情头像点击事件通知
#define kOffcnIMChatInfoHeadIconClickNotification @"kOffcnIMChatInfoHeadIconClickNotification" #define kOffcnIMChatInfoHeadIconClickNotification @"kOffcnIMChatInfoHeadIconClickNotification"
......
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