nttcom / SkyWay-iOS-Sample

[Deprecated] Sample application of SkyWay iOS SDK
16 stars 11 forks source link

这个Block回调没有响应,获取不到_strOwnId,并且没有任何报错信息,晕,求解答 #6

Closed topjx closed 7 years ago

topjx commented 7 years ago
[peer on:SKW_PEER_EVENT_OPEN callback:^(NSObject* obj){
     dispatch_async(dispatch_get_main_queue(), ^
                    {
                        if (YES == [obj isKindOfClass:[NSString class]])
                        {
                            __strOwnId= (NSString *)obj;
                        }
                    });
 }];