Hide a ADBannerView. Is it ok to move it offscreen? - iphone

When the user changes screen, I want to hide the current ADBannerView . Is there a "right" way to do that? If I move it offscreen for instance, is it fine: I was wondering if it could keep serving ads while not being displayed and then I would break some Apple Agreement.
Is it also OK to cover an Ad with a modal view?
Thanks!

Apple recommends moving it offscreen. Watch the 2010 WWDC session 112 video on iAd integration.

Just move it offscreen. It will detect that.

Related

Swift Interstitial Making a Banner Ad?

I recently put Admob interstitial ads in my game. They appear when the player dies and then can be dismissed.
For some reason when the interstitial is dismissed, it creates an admob banner at the bottom of the screen which I can not ever hide. This is a big problem because it covers up the game when the player hits the replay button, and it can also cover up the UI in the store.
I do have an Admob banner, but it only appears on the menu scene.
There are 3 scenes, the menu, the game, and the store. In the store and the game's func Update, the admob banner is set to hidden = true. So there is absolutely no way it is the same banner, surely?
If I put in the func update of store or game print(googlebannerview.hidden) it always says hidden = true, even though I can see an ad on the bottom of the screen.
What is causing this? From what I can see the interstitial is either spawning its own banner when it is dismissed, or it is somehow setting the menu banner to be hidden = false and telling it to lie in the console and not be able to be changed.
I don't think showing any code would help so.. please if you have any ideas!
EDIT: if the explanation wasn't that good you can see for yourself, this bug is on the live version of my app. Search Frog Leap on the app store, it's the first one. When you die and then press replay you will notice it makes a banner ad. It also happens if you hit the menu button and go to the store. It never goes away.

Calendar animation like IOS 7

How to make animation like calendar app of iphone device IOS 7?
While selecting month in the Year view, very smooth animation is performed.
How i can achieve this animation?
Thanks for your time for reading & best of luck.
This is called a Layout-to-Layout transition.
Essentially it is one collection view that is animated between different layouts to create the zooming in/out effect.
The same this is used in the Photos app.
You can read more about it here...
Erm... just finding a link.
Session 218 video from WWDC 2013. This has what you're looking for.

iOS development, show UIScrollView area on top of current view

Has anyone used the Instagram app lately?
It has a very neat feature, where, while you are using camera, you can touch the 'eye' button, which pops up a small scrollable UI area that contains different filters that can be applied to the camera video.
Can anyone help me on what kind of UI element I should use to get such popup?
Thanks.
The one on the Instagram app looks like a simple UIScrollView with custom subviews added in. What these subviews contain and how they look is completely up to you and your design.

How to implement next page action as built in maps apps in iphone from apple

In iPhone, Map application, Right corner button, that is next page animation button, Can we impletement this button action, Is it animation? Can you explain more in details.
Thank you,
Madan Avulagadda.
If you want something like that look into UIView animations, however I believe that specific one is still an undocumented animation. So if you want your app in the store, you can't use it.

Tap to focus on camera apps, Supposedly not possible, but a bug in my app enables it (although useless)

I would like to get tap to focus in my app and the controls are hidden
Supposedly this is impossible but I know its not. I have a simple iAD dragged into an overlay, no code or anything. When I click on the iAD nothing. but when I close it with the home button I get a modal exit of the nonexistant iAD and the camera apps relaunches but in the top left with only a small portion viewable. But this time the tap to focus is enabled.
So how can I do this without the bug?
Thanks!
Guess no one got it? I just showed the controls to take a snap and zoom and focus came up!