I am trying to change the route programmatically. However, only iphone 6 ios 10 does not work below code
import { browserHistory } from 'react-router'; browserHistory.push("/" + route);this.props.history.push('/' + route);window.location.href = route; // cannot use this though..
I tried 3 of them. It works with all other ios devices from iphone 5 or iphone 6 ios8.
Has anyone solved this problem?
source
share