[TIMOB-8674] iOS: Orientation: iPhone does not support landscape orientation for iAds
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-06-26T21:02:26.000+0000 |
Affected Version/s | Release 2.0.1, Release 3.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | api, qe-ios040912 |
Reporter | Neha Chhabra |
Assignee | Eric Merriman |
Created | 2012-04-11T01:10:32.000+0000 |
Updated | 2017-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
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
Closing ticket as iAd has been deprecated in iOS 10 and will be removed in future versions of iOS.