Commit 9134dc59 authored by Alex朱枝文's avatar Alex朱枝文

优化腾讯云IM block回调兼容swift nullable

parent 40a61486
......@@ -74,7 +74,7 @@ NS_ASSUME_NONNULL_BEGIN
* Get the cached avatar asynchronously, this interface will request the interface to get the current number of group members, and return the avatar
* corresponding to the local cache
*/
+ (void)getCacheGroupAvatar:(NSString *)groupID callback:(void (^)(UIImage *, NSString *groupID))imageCallBack;
+ (void)getCacheGroupAvatar:(NSString *)groupID callback:(void (^)(UIImage * _Nullable, NSString * _Nullable))imageCallBack;
/**
* Get the cached avatar synchronously, this interface does not request the network
......
......@@ -437,7 +437,7 @@ static void *gScrollViewBoundsChangeNotificationContext = &gScrollViewBoundsChan
});
}
+ (void)getCacheGroupAvatar:(NSString *)groupID callback:(void (^)(UIImage *, NSString *groupID))imageCallBack {
+ (void)getCacheGroupAvatar:(NSString *)groupID callback:(void (^)(UIImage * _Nullable image, NSString * _Nullable groupID))imageCallBack {
if (groupID == nil || groupID.length == 0) {
if (imageCallBack) {
imageCallBack(nil, groupID);
......
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