码迷,mamicode.com
首页 > 其他好文 > 详细

Assigning to 'id<QMapViewDelegate>" from incompatible type "view control * const_strong"

时间:2014-11-30 16:55:17      阅读:124      评论:0      收藏:0      [点我收藏+]

标签:ios

使用腾讯地图sdk,出现警告:

Assigning to ‘id<QMapViewDelegate>" from incompatible type "view control * const_strong"


在viewcontroller.m文件中

@interface ViewController ()

改为

@interface ViewController ()<QMapViewDelegate>


警告Assigning to ‘id<QMapViewDelegate>" from incompatible type "view control * const_strong"就会消失。

Assigning to 'id<QMapViewDelegate>" from incompatible type "view control * const_strong"

标签:ios

原文地址:http://blog.csdn.net/liyun123gx/article/details/41623783

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!