Incredibly these were awarded, despite this technology being in use since the 1990s!

Apple Wins Two Original iPhone Patents Regarding Rotation Heuristics – Patently Apple.