Or if you have to, fine, but here's a #ProTip:
Portrait-Landscape-Portrait-Landscape-Portrait in under 5 seconds while the keyboard is out ... would be a good time to take a bug report.
I can't tell you how many times I've shaken my phone in anger after that frustrates me. You can bet a bigger iPhone won't have this issue.
In fact, though I only know this as a developer who pays close attention to their videos, Apple waits until you tap the screen before they perform certain rotations -- that's how I learned if a device doesn't rotate, tapping the screen wakes it up. By now if they're smart, they've added "a quick shake," too.
Contrary to current code, rotating the screen is (a) context dependent and (b) not always necessary. At the very least, pop up a bar that says undo rotate or lock screen.