注册

Demo代码没有理解,希望大家帮忙解答一下

聊天界面指向类 #import "EaseMessageViewController.m" 
然后我点击toolbar的发起通话按钮后执行#import "EaseMessageViewController.m" 中的方法(如下所示)
//打电话
- (void)moreViewAudioCallAction:(EaseChatBarMoreView *)moreView
{
// 隐藏键盘
[self.chatToolbar endEditing:YES];

NSLog(@"%@",KNOTIFICATION_CALL);
[[NSNotificationCenter defaultCenter] postNotificationName:KNOTIFICATION_CALL object:@{@"chatter":self.conversation.conversationId, @"type":[NSNumber numberWithInt:0]}];
}

 
 上述方法中的通知(如下所示)
[[NSNotificationCenter defaultCenter] postNotificationName:KNOTIFICATION_CALL object:@{@"chatter":self.conversation.conversationId, @"type":[NSNumber numberWithInt:0]}];
是如何实现弹出通话界面 指向的类#import "CallViewController.h"
 
通知是如何实现弹出界面的??
 
 
已邀请:
demo在单例类ChatDemoHelper里面做了监听,关联方法makecall发起音视频通话请求。
chatDemoHelper.m中

Snip20160510_2.png


 
-------
callViewController已经执行,但是在手机界面中却没有显示(只是弹了一下五分之一屏幕的灰色马上就消失了),希望您帮忙解答下,是我本身框架的问题吗?被什么盖住了?
 

要回复问题请先登录注册