# Lock screen orientation for one page

**URL:** <https://forum.ionicframework.com/t/lock-screen-orientation-for-one-page/62292>\
**Category:** ionic-v3\
**Created:** [September 1, 2016, 11:53am UTC](https://forum.ionicframework.com/t/lock-screen-orientation-for-one-page/62292 "2016-09-01T11:53:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maggie001](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@maggie001](https://forum.ionicframework.com/u/maggie001)\
**Post date:** [September 1, 2016, 11:53am UTC](https://forum.ionicframework.com/t/lock-screen-orientation-for-one-page/62292/1 "2016-09-01T11:53:57Z")

</div>

Is it possible to lock the screen orientation for a single page in Ionic 2 - Beta 11?

---

<div class="post-metadata">

**Author:** ![maggie001](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@maggie001](https://forum.ionicframework.com/u/maggie001)\
**Post date:** [September 2, 2016, 10:53am UTC](https://forum.ionicframework.com/t/lock-screen-orientation-for-one-page/62292/2 "2016-09-02T10:53:27Z")

</div>

Just managed to with -

> **[Ionic Framework](https://ionicframework.com/docs/native/screen-orientation/)**
>
> Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards

And used the navController `ionViewLoaded()` and `ionViewWillUnload(`) to lock and unlock the orientation.
