jogi / uitabbarcontroller-iads Goto Github PK
View Code? Open in Web Editor NEWUITabBarController category for easily adding iAds with resizable views and auto rotation support.
Home Page: http://jvashishtha.github.com/UITabBarController-iAds
UITabBarController category for easily adding iAds with resizable views and auto rotation support.
Home Page: http://jvashishtha.github.com/UITabBarController-iAds
I have a tabbed app where one of the tabs includes a UISplitViewController.
As soon as I add the UITabBarController+iAd files to my project I start to get strange behaviour. The class isn't even imported anywhere and it's still being called, I know this because the NSLogs are showing in the console.
Here's what's happening to my MasterViewController:
I'm also getting some errors:
<Error>: CGContextSetCompositeOperation: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
<Error>: CGContextFillRects: invalid context 0x0. [same message]
<Error>: CGContextRestoreGState: invalid context 0x0. [same message]
<Error>: CGContextSaveGState: invalid context 0x0. [same message]
Any ideas?
Pushes down my webview (inside contentView) about 20px each time I go to detail view and return to article list. I have a toolbar above the tabbar that animates in and out of view. Is this creating the problem?
I have an application structure that starts from a UITabBarController.
One of the views in the UITabBarItems will create a modalView when clicking a button.
Supposing I still want to use the shared iAd banner in that modalView, what should I do?
Hi there,
I have the impression that after a disconnection the library will not load further iAds.
Or maybe there's a timeout somewhere I can't see. Basically,
=if I start it with connection available=
the ad displays, and if I remove the connection it doesn't disappear (even by leaving the app going for some minutes)
=if I start it with connection disabled=
the ad never displays, even waiting for some minutes.
Is there any known issue, is there a timeout, or is it just the behaviour of the test iAds that Apple sends?
Thanks!
The ads are not being aligned properly in landscape orientation and the following method isn't called at all:
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation {
NSLog(@"Did rotate");
[self layoutBanner];
}
Apps compiled for iOS 7 run okay but when re-complied this issue occurs.
I have done the following which I think is right (in AppDelegate.m), and it works:
_tabBarController = (UITabBarController *)self.window.rootViewController;
_tabBarController.delegate = self;
[self.tabBarController showiAds];
Is this correct?
I'm not sure if my terminology is correct but basically when the first advert loads in a tab it covers the bottom of the tab contents. It stays like this until either a new ad loads or if you select a different tab and then come back to it.
Is there a way to get the tab contents to resize automatically for this first ad?
I have the following:
UITabBarController+iAd.m:33:17: 'currentContentSizeIdentifier' is deprecated: first deprecated in iOS 6.0
UITabBarController+iAd.m:33:48: 'ADBannerContentSizeIdentifierPortrait' is deprecated: first deprecated in iOS 6.0
UITabBarController+iAd.m:36:48: 'ADBannerContentSizeIdentifierLandscape' is deprecated: first deprecated in iOS 6.0
UITabBarController+iAd.m:40:39: 'sizeFromBannerContentSizeIdentifier:' is deprecated: first deprecated in iOS 6.0
hi
Sample program working good with ios simulator 5.0 onwards. But for device ios 4.2, banner is not showing but not clickable.
How to solve the above issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.