Admob view does not present a full screen ad on click - objective-c

I'm trying to figure out why its happening to my banner view, it should present a full screen ad on click, it does not do that.
my banner view is a subview of a viewcontroller witch is a part of a tabbar view controllers
what should I do, does anyone know whats my banner problem?
on click I get an ad in the bannerview and not a fullscreen down to top animated banner
HELP ME PLEASE !!!!
//Additional info
I found out that after my second ad request it does not open a full screen on touchup inside
I found the error, because I reload the banner by requesting another ad without initializing the bannerview
Thanks everyone

What happens when you touch ad banner depends upon admob. You only must be sure that ad banner is touchable. Not always get a full screen on click, also can redirect tu app store, for example.

So seeing some code on your implementation would help us diagnose this issue. Without seeing this code though, I'm assuming that if your banner is displaying properly and the full screen modal won't show it's a rootviewController issue.
Are you setting the rootViewController to be your tabBarController?

Related

black bar above tableview after segue

I have an application that has an login-flow. In this login flow you have the possibility to remember your login and password onto your iPhone. When I do this and I restart the app I get a black bar between my tableview and my navigation bar. For mor clarification you see here a screenshot of my storyboard.
And you can see a screenshot of the problem over here.
So when does this happens. When I first start the app and I enter my login and pwd. Everything is OK. But when I save my login credentials on my phone. And restart the app. It skips the login screen and immediately goes to the tabbar. And at that moment the black bar appears.
Does anybody know what the problem can be?
Kind regards
Dont Skip the login screen, just check if the login is saved then show the add a View (Loading View with UIActivity indicator) but on the background of that View use to User save credentials to login again. and when you will successfully login then Hide the added View. This is surely help you

Swipe without actually swiping in iPad?

Is it possible to make a view move either to the left or right in the iPad, when I tap on a button, instead of actually swiping on the view.
This can be seen in the iPad when I'm in the screen after the search screen, and I install an app, the screens move to the left by itself and the app sits in the right place and starts installing.
Any suggestion will help.
The home screen is actually a UIScrollView with paging enabled. So it just moves to the next page (with scrollRectToVisible) if a new app is installed. So if you want to have something like that, I guess you have to implement a paging UIScrollView. Just search for that and you will find a lot of good tutorials.
Some further resources:
UIScrollView reference documentation
A paging UIScrollView tutorial

iOS: Restoring the previously visible view when the app returns to the foreground?

I'm developing an iPhone (iOS 5+) app using storyboards. The first screen of the app is a splash/login screen that checks for Facebook credentials and enables you to read and accept Terms And Conditions. In case there are valid stored credentials and the TOC has been previously accepted, this view automatically makes a modal segue (using a cross dissolve effect) to the first "real" application view, a tab bar controller with three tabs.
I'm currently implementing backgrounding and foregrounding logic. The problem is that when pressing the home button and then coming back, the login screen is briefly shown before the correct pre-backgrounding view is restored. (The Default.png of the app is of the login screen background, so it might be either that or a backgrounding-time screenshot of the actual login screen; I haven't tested replacing Default.png yet to tell the difference.)
Why is this? As far as I can tell, backgrounding the app should just take a screenshot of the view that is visible on the screen when, say, hitting the home button, and restore that prior to restoring the actual view functionality when coming back to the foreground. In this case that would be one of the tabs of the tab bar controller. Is the modal segue between the login screen and the tab bar controller the culprit here, or something else?
(I've always felt that the cross dissolve modal segue from the login screen to the first "useful" screen is a bit dirty, since IMHO a modal segue seems to imply that what your segueing to is something you'll later dismiss to get back to the "from" screen. What I'm doing now is just leaving the target of the modal segue visible indefinitely. If that is the problem here, I'd love it if someone would suggest a better method of displaying, transitioning away from and "jettisoning" the login screen.)
OK, turns out this was just a simulator/device discrepancy regarding Default.png. This comment on another question made me think to check. Time to file a bug report.
If I recall correctly, Apple has some old demo code which "remembers" which view a navigation controller was showing before it went into the background.
By way of disclaimer, I haven't worked with storyboards, so I don't know the specifics of doing what you're trying to do.
If it were me, I'd create the view controller or controllers at launch, and then only add the login screen if deemed necessary by the app delegate's logic. Only then, after setting up the view hierarchy, do I present everything.
This accomplishes two things. My login screen only exists and is visible if necessary. Additionally, the login screen won't flash unessecarily. Oh, and as a third benefit, you can present any view you like.
I'd suggest, assuming the aforementioned demo code doesn't work for you, that you'll want to save some sort of reference, tag, or ID of the currently visible view in NSUserDefaults and read that out when setting up your view hierarchy on launch.

Clickable ad banner on loading screen is ios app

I want to add clickable ad banned on launch screen of my app, how can I do that? Help me, please. Thank you
Please note that the default splash screen is just an image so if you want to add an ad to the launch screen you will need to make custom view that changes after some time. Here is a good tutorial for adding iAd integration to iPhone application.

How to have a UIView appear from the middle of the screen

I looked at Apple's UIModalTransitionStyle, but didn't see what I was looking for. I want to do the same thing that the Facebook iPhone App does; when you touch on a button on the Facebook's homescreen, the new UIView appears (and then disappears when you are done) from the middle of the screen. I would like to implement similar transitions in my iPhone app, and I was wondering if there was a quick way to do it (already precoded), and if not, how would I code it so I can do the same thing?
Edit: To clarify, the transition should have the UIView grow out of the middle of the screen, and then it fills up the entire view. When the user dismisses the view, the view shrinks into the middle of the screen, getting smaller until it has disappeared. Just like in the Facebook app.
Thank you!
myView.center = parentView.center
where myView is your new UIView that is appearing and parentView is the view that holds the button or else you could reference the application's window.