3 ms·
I wonder if Apple shares that code in iOS too?
by SergeAx 7y ago
I wonder if Apple shares that code in iOS too?
- saagarjha 7y agoCoreBrightness is similar across the platforms.
- sudhirj 7y agoMaybe, but I don’t think there’s a CoreSunrise or CoreSunset. The problem isn’t in setting the brightness or colour tone, it’s calculation when to switch between them.
- saagarjha 7y agoiOS and macOS share GeoServices, which performs the actual calculation of sunrise/sunset times (among other things).