age*_*fll 11 iphone cocoa-touch objective-c core-location
你是如何制作CLLocationDegrees的?它不是浮子,它是什么?
Jef*_*ley 17
根据CLLocation
文档,CLLocationDegrees
只是一个双重.所以要创建一个,你可以做一些简单的事情:
CLLocationDegrees degrees = 45;
Run Code Online (Sandbox Code Playgroud)
CLLocationDegrees是typedefed double:http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CLLocation_Class/CLLocation/CLLocation.html#//apple_ref/doc/uid/TP40007126-CH3-SW19
例如: CLLocationDegrees myDegrees = 2.313224;
归档时间: |
|
查看次数: |
22038 次 |
最近记录: |