nativescript-timedatepicker
A NativeScript plugin providing native date and time pickers for Android and iOS.
Android side
iOS side
Usage
//Import the plugin; //Create a callback function; //Initialize the PickerManager (.init(yourCallback, title, initialDate))TimeDatePicker.initmCallback,null,null; //Show the dialogTimeDatePicker.showDatePickerDialog;
For more examples of usage see the demo main-view-model.ts.
IOS localization
If you want the buttons to be on some other language than english you have to add that language to your project on xcode.
Credits
This plugin abstract two native libraries, hence here are the project and deserved merit to the creators.
For iOS https://github.com/hackiftekhar/IQActionSheetPickerView
For Android https://github.com/CiTuX/datetimepicker