Skip to content

Repository files navigation

Titanium iOS 16+ WeatherKit

Use the iOS 16+ WeatherKit APIs in Titanium!

Requirements

  • Xcode 14+
  • iOS 16+
  • WeatherKit enabled in the developer portal / entitlements

Example

import WeatherKit from 'ti.weatherkit';

WeatherKit.getWeather({
  latitude: 37.322998,
  longitude: -122.032181,
  callback: event => {
    console.warn(event.currentWeather);
  }
});

Author

Hans Knöchel

License

MIT

About

Use the iOS 16+ WeatherKit APIs in Titanium!

Topics

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages