Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12308] iOS - Ability to block orientation on email dialog.

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2013-08-07T22:13:45.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterCésar Cavazos
AssigneeIngo Muschenetz
Created2013-01-16T16:15:16.000+0000
Updated2017-03-20T22:22:49.000+0000

Description

Feature

Possibility to block landscape orientation over Email Dialog when the parent window has been locked to portrait.

Test case

tiapp.xml
<iphone>
        <orientations device="iphone">
            <orientation>Ti.UI.PORTRAIT</orientation>
        </orientations>
</iphone>
app.js

var win = Ti.UI.createWindow({
	height: Ti.UI.FILL,
	width: Ti.UI.FILL,
	backgroundColor: "#FFF"
});

var button = Ti.UI.createButton({
	width: 200,
	height: 60,
	title: "Open Email Dialog"
});

button.addEventListener('singletap', function(evt){
	Ti.UI.createEmailDialog().open();
});

win.add(button);

win.open();

Comments

  1. Blain Hamon 2013-08-07

  2. Lee Morris 2017-03-20

    Closing ticket as duplicate.

JSON Source