EDSunriseSet returning 0
问题 I am using the EDSunriseSet class from https://github.com/erndev/EDSunriseSet I have the code: if(longitude == 0 && latitude == 0){ longitude = 51.50722; latitude = -0.12750; } EDSunriseSet *sunrise = [EDSunriseSet sunrisesetWithTimezone:[NSTimeZone localTimeZone] latitude:latitude longitude:longitude]; NSLog(@"With lat = %f and long = %F; sunrise is at: %@",latitude,longitude,sunrise.localSunset); and it returns: <NSDateComponents: 0x10a2743a0> Hour: 0 Minute: 0 Second: 0 Is the issue on my