Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to prevent screen rotation on iOS
Forum Updated to NodeBB v4.3 + New Features

How to prevent screen rotation on iOS

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 2 Posters 293 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #1

    Hi!
    I need the application not to be rebuilt when the screen is broken. How do I prevent an app from rotating when I turn the screen?

    J.HilkJ 1 Reply Last reply
    0
    • M Mikeeeeee

      Hi!
      I need the application not to be rebuilt when the screen is broken. How do I prevent an app from rotating when I turn the screen?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @Mikeeeeee
      hi, inside your Info.plist file there is the UISupportedInterfaceOrientations key, remove all orientations you do not want to support from the array.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved