You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
render() {
let {year, month, day} = new Date();
let min = new Date(year, month, day, 8);
let max = new Date(year, month, day, 22);
return (
<DatePickerIOS
date={this.state.date}
mode="time"
minuteInterval={10}
minimumDate={min} maximumDate={max}
onDateChange={(date) => this.setState({date})}
/>);
I found that minuteInterval works on iOS emulator, but not work at real device both minuteInterval and date range feature.