Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-09-2011, 08:38 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 22
MarkHolbrook is on a distinguished road
Default iAds mess up my display?

Hi All,

I have a universal app I'm trying to finish up in which I programmatically create all of the display elements and position them for each rotation I support. No xib files used.

This app is a music listening app designed to connect to a user composer music side. I've included iAds as a way to recoop a little of the programming effort costs.

Basically when the device is rotated I have code that reframes each item to be in the desired spot on screen. I have this working nicely. However if an iAd is tapped when in any display mode but portrait upright things go south real fast. Basically even though I attempt to force my display elements to the desired positions they are just messed up and all over the place.

If the iAd is tapped in portrait mode then everything is mostly ok... There is a small y offset I need to deal with. The best way to describe this is to show it. This link is for a small screen movie that shows the issue I'm having:

iAd Screen Mess up - MarkHolbrook's library

Now I've read the iAd docs. I've checked my view frame before and after the ad and it looks ok. It does shift a little but not much. So I cannot figure out why everything goes off the deep end. Any help would be much appreciated.
MarkHolbrook is offline   Reply With Quote
Reply

Bookmarks

Tags
iad, iphone, landscape

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 350
9 members and 341 guests
dansparrow, iOS.Lover, lorrettaui53, MikaelBartlett, oztemel, pbart, PlutoPrime, thephotographer, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,663
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, LezB44
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:57 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0