[TIMOB-24994] iOS: Remove Ti.UI.iOS.AdView
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-11-10T01:04:07.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 7.0.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2017-07-21T03:54:25.000+0000 |
| Updated | 2017-11-14T23:08:49.000+0000 |
Description
We deprecated the Ti.UI.iOS.AdView as part of Titanium SDK 5.5.0 to follow-up with Apple deprecating the iAd framework in iOS 10. We should remove it in Titanium 7.0.0 and leave a message in the docs and core to notify the developer.
PR: https://github.com/appcelerator/titanium_mobile/pull/9568 Test-Case:
var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); var btn = Ti.UI.createButton({ title: 'Trigger' }); btn.addEventListener('click', function(e) { var adView = Ti.UI.iOS.createAdView(); // Should show an error log that the api has been removed }); win.add(btn); win.open();Passed FR. PR merged.
Verified in SDK build: 7.0.0.v20171114134144