If rotation suddenly works without the case, you've found the culprit. If none of these steps restore rotation, it's likely a hardware fault. At that point, you'd want to contact Apple Support for ...