Project: titanium
Issue TIMOB-18331: iOS: Facebook dialog cannot set orientation to landscape mode in iOS 8.0
Facebook dialog cannot set orientation to landscape mode in iOS 8.0, but on iOS 7.1 it works fine. My app is forced to landscape mode but Facebook dialog always pops up to portrait mode. h5. TEST CODE: {code} var win = Ti.UI.createWindow({ backgroundColor:'#fff', orientationModes:[Ti.UI.LANDSCAPE_LEFT,Ti.UI.LANDSCAPE_RIGHT] }); var facebook = require('facebook'); facebook.appid = 'APP_ID'; facebook.permissions = ['publish_stream', 'read_stream']; win.add(facebook.createLoginButton({	style : facebook.BUTTON_STYLE_WIDE,	bottom : 30 })); var data = {	link: "http://www.appcelerator.com",	name: "Appcelerator Titanium Mobile",	message: "Checkout this cool open source project for creating mobile apps",	caption: "Appcelerator Titanium Mobile",	picture: "http://developer.appcelerator.com/assets/img/DEV_titmobile_image.png",	description: "You've got the ideas, now you've got the power. Titanium translates your hard won web skills into native applications..." }; facebook.dialog("feed", data, function(e) {	if (e.success) {	alert("Success! From FB: " + e.result);	} else {	if (e.error) {	alert(e.error);	} else if (e.cancelled) {	alert('Cancelled');	} else {	alert("Unkown result");	}	} }); win.open(); {code}
Story points: 3