orientation lock on iOS


Author
Message
sdandeneau
sdandeneau
Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)
Group: Forum Members
Posts: 37, Visits: 141
Hi, 

How can I "lock" the orientation to "portrait" when running on iOS? That is, when running on iPhone of iPad, the task reverts to a landscape orientation, regardless of the orientation of the device. By forcing the orientation in portrait, it would make the stimuli larger on the screen. 

Thanks in advance, 
Stéphane
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 100K
As far as I am aware, this isn't possible (at least not currently). At present Inquisit enforces landscape orientation on iOS devices to keep the layout relatively consistent across different types of devices: Monitors on regular laptops or desktop computers typically have landscape orientation (i.e., they are wider than they are high). Scripts are typically designed assuming a landscape-layout in terms of their visual components (relative positions and sizes of objects, etc.), and would not translate well to a portrait-layout.

Hope this helps.

Erik
Erik
Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)Partner Member (859 reputation)
Group: Moderators
Posts: 13, Visits: 199
actually, it is possible.  The Inquisit Player defaults to landscape to maintain consistency, but the behavior can be overridden by the canvas.

To lock in portrait mode you need to specify a canvas that has a larger height than width.

For Portrait on iPad/iPhone:
<defaults>
/ canvasaspectratio = (3,4)
</defaults>


Or whatever you feel is appropriate.  It can also be accomplished using "/ canvassize" with appropriate sizes.
For Portrait on iPad/iPhone:
<defaults>
/ canvassize = (99%,100%)
</defaults>







Developer at Millisecond Software, LLC.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search