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

View Single Post
Old 02-15-2011, 12:21 AM   #13 (permalink)
leed76
Registered Member
 
Join Date: Jul 2008
Posts: 10
leed76 is on a distinguished road
Default

Quote:
Originally Posted by mahr View Post
Julien,

Thanks for writing this library, it's very useful. I got it up and running my image slideshow with almost no modifications. I did have to fix a couple of lines of code that were hardcoded to the dimensions of the iPhone screen. With a couple of changes it seems to be running fine on both the iPhone and the iPad.

For anyone else that wants to run this code on the iPad, the lines to change are in DiapController and are easy to spot. I changed the 320s and 480s to self.view.bounds.size.(width / height). There's also a 300 or so which I changed to width - 20. Something like that. It's pretty simple.

Thanks again.
Have you tried looking at the WWDC2010 Session Video/Sample Code? Have a look at session 104 and the PhotoScroller sample code.
leed76 is offline   Reply With Quote
 

» Advertisements
» Online Users: 397
10 members and 387 guests
7twenty7, antonwilliams, Arty Tales, DaveDee, erdinc27, eski, Lily.P, networ, roof44, ryantcb
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,594
Threads: 94,084
Posts: 402,779
Top Poster: BrianSlick (7,990)
Welcome to our newest member, kopmlop
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:07 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.