您的位置:首页 > 其它

Convert:could not find an overload for init

2014-11-15 02:49 267 查看
原因:width
and
height
elements of
CGSize
are declared as
CGFloat
.On the 64-bit platform,
CGFloat
is the same as
Double
and has 64-bit,whereas
Float
has only 32-bit.

解决方法:例如Int类型转换成CGfloat,如果转成Float类型报标题错误
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐