Stopping pointless redirect on ios