I had this scenario today: Native iOS 7 app compiled as portrait-only, linked to external page, in-app browser activated. Website had embedded video. Video was watched in landscape mode. Returned to app (closed in-app browser) and the app layout was showing landscape within a potrait window (i.e., it was wonky). Restarting the app fixed the wonky layout.
-1TC