
# 结束投屏
```
int result = [mShareServiceController stopSharing:^(id stopSharingCallback) {  
}];
```
**接口描述**
APP调用IdeaShareServiceController实例对象的stopSharing方法。SDK结束投屏之后通过Block回调通知UI层，APP需要进行相应处理
**方法定义**
```
- (int)stopSharing:(callback)stopSharingcallback;
```
**参数描述**
表1Connect参数说明 
| 参数                  | 是否必须 | 类型  | 描述                                                 |
|:---|:---|:---|:---|
| stopSharingcallback | 是    | int | typedef void (\^callback)(id t), 包含回调内容 -- 结束投屏的原因 |
   
