CLLocationDegrees初始化

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)