Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8674] iOS: Orientation: iPhone does not support landscape orientation for iAds

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-26T21:02:26.000+0000
Affected Version/sRelease 2.0.1, Release 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsapi, qe-ios040912
ReporterNeha Chhabra
AssigneeEric Merriman
Created2012-04-11T01:10:32.000+0000
Updated2017-06-26T21:02:26.000+0000

Description

iPhone is not supporting the intended Landscape Orientation (TIMOB-5006).This also happens on 2.0.0 Steps to Reproduce: 1. Launch the app on an iOS device or simulator *Note this requires 1.9.0 or greater 2. Wait ~ 1-2 seconds for iAd to load and press it 3. Rotate the device between landscape and portrait app.js
var win1 = Titanium.UI.createWindow({  
    title:'Win1',
    backgroundColor:'#fff'
});

var adView = Ti.UI.iOS.createAdView({
				width : 'auto',
				height : 'auto',
				top : 0,
				zIndex : 100
			});
			win1.add(adView);
			adView.show();
		
win1.open();
Expected Result: After step 3: iAd correctly rotates to each supported orientation Actual Result: After step 3: iAd is not displayed in landscape Orientation on iPhone 4S. Whereas it is being displayed properly on iPad 2

Comments

  1. Shameer Jan 2013-04-17

    Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.0
  2. Lee Morris 2017-06-26

    Closing ticket as iAd has been deprecated in iOS 10 and will be removed in future versions of iOS.

JSON Source