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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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 07-04-2009, 02:17 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 15
Question Replicating the cool iPod landscape transition on the iPhone?

Hey y'all...

I've been wondering whether it is possible to replicate the awesome transition animations the iPhone has on its iPod app (when you turn the phone on landscape ). This is the one which shows the album cover art and has a smooth view arrangement that allows you to flip through the songs in a really cool way.

Implementing this (or anything similar) from scratch seems like a massive task.. Any idea if there is perhaps a library / sample code which shows how this kind of animation system built up?

Just to clarify, I am familiar with the normal flip animations and CG Animation types.. just wondering how we can setup something of this nature..

Thanks!!
MGunetileke is offline   Reply With Quote
Old 07-04-2009, 03:07 AM   #2 (permalink)
Registered Member
 
Join Date: Jul 2008
Posts: 459
Default

Quote:
Originally Posted by MGunetileke View Post
Hey y'all...

I've been wondering whether it is possible to replicate the awesome transition animations the iPhone has on its iPod app (when you turn the phone on landscape ). This is the one which shows the album cover art and has a smooth view arrangement that allows you to flip through the songs in a really cool way.

Implementing this (or anything similar) from scratch seems like a massive task.. Any idea if there is perhaps a library / sample code which shows how this kind of animation system built up?

Just to clarify, I am familiar with the normal flip animations and CG Animation types.. just wondering how we can setup something of this nature..

Thanks!!
If you want transition when turning the phone, you need to check the device orientation, like:



Code:
[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];	
	[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didRotate:)
							name:@"UIDeviceOrientationDidChangeNotification" object:nil];	

- (void) didRotate:(NSNotification *)notification
{	
	UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
	
	if (orientation == UIDeviceOrientationLandscapeLeft) {
              //do something here
        else if (orientation == UIDeviceOrientationPortrait){
             //do something here
        }
}
Rebuilding that iPod landscape album browser function, called "coverFlow" is a whole different story. If you're doing it really good, Apple might reject your app for "using" their private coverFlow API. If your version is somewhat like Apple's coverFlow, they might reject your app for including features they already provide (can't remember their official line). Either way, you're screwed. On the other hand, I wouldn't say it's impossible. I've definitely seen apps on the store, that clearly imitate coverFlow, but I've also heard about rejections. As developers recently discovered, some can get away with things, that others can't. Rumour has it, that it's more or less the reviewers choice plus some luck.
NewiPhoneDeveloper is offline   Reply With Quote
Old 07-04-2009, 03:35 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 15
Default

Many thanks for the reply...

Just to be sure I got you correct; the API for creating the CoverFlow look is private for Apple, and its NOT something other developers can use freely for their use right? And creating a poor imitation is gonna make a prob as well..

Seems like i'll be better off finding a creative way to implement this on my own then
MGunetileke is offline   Reply With Quote
Reply

Bookmarks

Tags
animation mix, ipod, transition

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
» Stats
Members: 158,775
Threads: 89,203
Posts: 380,595
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Andy8888
Powered by vBadvanced CMPS v3.1.0

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