ios - Preventing page curl from curling offscreen views -


i have navigation controller based application working on. uses iad display adds. when adbannerview has no add (based on bannerview:didfailtoreceiveadwitherror:), banner view slid off of bottom of screen.

there view shown root view controller using modal page curl transition. when banner view on screen, there no issues transition. however, when off screen, blank, banner view-sized box appended bottom of curled page.

i have tried setting every view controller's view , apps window have clipstobounds set true avail.

any ideas?

just set banner view's alpha 0 after animated offscreen.

[uiview animatewithduration:duration animations:^ {     //move banner offscreen } completion:^(bool finished) {     banner.alpha = 0; }]; 

typed on mobile, don't ship without testing

sometimes best solution simplest one.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -