<doc>
	<legacy_id></legacy_id>
	<name>mobileUnlockOrientation</name>
	<type>command</type>

	<syntax>
		<example>mobileUnlockOrientation</example>
	</syntax>

	<synonyms>
		<synonym>iphoneUnlockOrientation</synonym>
	</synonyms>

	<summary>Allows orientation changes and updates the interface to the device's current orientation.</summary>

	<examples>
<example>mobileUnlockOrientation</example>
<example>if loadingComplete then mobileUnlockOrientation</example>
	</examples>

	<history>
		<introduced version="4.5.3">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="4.6.1">4.6.1</changed>
	</history>

	<objects>
	</objects>

	<platforms>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<function tag="mobileDeviceOrientation">mobileDeviceOrientation Function</function>
		<function tag="mobileOrientation">mobileOrientation Function</function>
		<function tag="mobileAllowedOrientations">mobileAllowedOrientations Function</function>
		<command tag="mobileSetAllowedOrientations">mobileSetAllowedOrientations Command</command>
		<command tag="mobileLockOrientation">mobileLockOrientation Command</command>
		<message tag="orientationChanged">orientationChanged Message</message>
	</references>

	<description>
	<overview>Use the <b>mobileUnlockOrientation</b> command to allow orientation changes which had been temporarily prevented.</overview>

		<parameters>
		</parameters>

	<value></value>
	<comments>The <b>mobileUnlockOrientation</b> command allows orientation changes to take place again, after first preventing them with the command <command tag="mobileLockOrientation">mobileLockOrientation</command>.<p></p><p>The orientation lock can be nested, and when an unlock request causes nesting to return to zero, the interface rotates to match the device's current orientation (assuming it is in the set of allowed orientations). You can query the current orientation lock state with the <function tag="mobileOrientationLocked">mobileOrientationLocked</function> function.</p></comments>
	</description>
</doc>