Convert:could not find an overload for init
2014-11-15 02:49
267 查看
原因:widthand
heightelements of
CGSizeare declared as
CGFloat.On the 64-bit platform,
CGFloatis the same as
Doubleand has 64-bit,whereas
Floathas only 32-bit.
解决方法:例如Int类型转换成CGfloat,如果转成Float类型报标题错误
相关文章推荐
- Swift: could not find an overload for '+' that accepts the supplied arguments
- 用ieda写scala程序修改之后在运行报错 Could not find an output directory for xx
- Warning: Could not find an exact (case-sensitive) match for 'Title'.
- 【Android】Error[*,*]Could not find method android() for arguments [……]
- Mysql5.6启动报错, [ERROR] InnoDB: Could not find a valid tablespace file for 'pa
- hibernate出现:org.hibernate.PropertyNotFoundException: Could not find a getter for id in class
- PropertyNotFoundException:could not find a setter forXXX
- ERROR Could not find value for key log4j.appender.Console
- could not find a getter for ... in class ...
- Could not find action or result,There is no Action mapped for namespace / and action name hello_struts. - [unknown location]
- VirtualBox 启动报错 could not find an open hard disk with uuid 解决方法
- 关于JNI配置Error: Could not find class file for 'XXX'问题(MAC Andriod Studio)
- Could not find schema information for the element 'supportedRuntime'.
- Could not find the Visual SourceSafe Internet Web Service connection information for the specified database Would you like to launch the Visual sourceSafe connection wizard?
- xfire+spring2.0整合出现[java.lang.IllegalStateException: Could not find valid implementation for: 2.0]
- could not find a getter for ... in class ... 异常的原因解析
- Could not find action or result There is no Action mapped for namespace / and action name . - [unkno
- ionic2打包安卓报错:Error: Could not find an installed version of Gradle either in Android Studio
- ORA-12520: TNS:listener could not find available handler for requested type of server
- Could not find any information for the class named ....