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 06-19-2011, 06:21 AM   #1 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 5
k114l3d is on a distinguished road
Smile Play button animation

Hi all,

Im new here so apologies if this has been asked before. I am developing an app that uses a play button. I am after something like the Shazam app play button where you press play and it shows a timer sort of thing. The sort of circle thing with the time ticking around it???

I have no idea what it is called and have looked online but cant find anything.

Any help is much appreciated
k114l3d is offline   Reply With Quote
Old 06-19-2011, 06:43 AM   #2 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

seem to be what you are looking for: MGPRoundProgressButton for iOS - Cocoa Controls
__________________
dany_dev is offline   Reply With Quote
Old 06-20-2011, 11:05 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 5
k114l3d is on a distinguished road
Default

Quote:
Originally Posted by dany_dev View Post
seem to be what you are looking for: MGPRoundProgressButton for iOS - Cocoa Controls

Yes that seems ok, however its not quite what i am looking for. Isnt there a native button that does this instead of creating it manually? Similar to the play button to the iTunes app?
k114l3d is offline   Reply With Quote
Old 06-20-2011, 11:24 AM   #4 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by k114l3d View Post
Yes that seems ok, however its not quite what i am looking for. Isnt there a native button that does this instead of creating it manually? Similar to the play button to the iTunes app?
I'm confused. Shazam and iTunes have totally different looks to their buttons.

In Shazam, there is a circular progress bar style animation that shows a dark blue "pie slice" starting out very thin, and growing until it covers all 360 degrees of a circle around the central button.

iTunes uses a very simple circular play/pause button. You tap it and it switches between a play triangle and the 2 lines for pause.

Which is it you want?

(BTW, I don't think either is a native button supported directly by the OS. The play/pause button in iTunes would be a simple custom button with 2 images and a little code to support switching states. With the artwork I could whip that up in about 10 minutes. the shazam circular progress bar would be more work, but the other poster showed a sample project that does nearly the same thing, that could be pretty easily adapted to a different look.)
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 06-21-2011, 03:15 AM   #5 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 5
k114l3d is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
I'm confused. Shazam and iTunes have totally different looks to their buttons.

In Shazam, there is a circular progress bar style animation that shows a dark blue "pie slice" starting out very thin, and growing until it covers all 360 degrees of a circle around the central button.

iTunes uses a very simple circular play/pause button. You tap it and it switches between a play triangle and the 2 lines for pause.

Which is it you want?

(BTW, I don't think either is a native button supported directly by the OS. The play/pause button in iTunes would be a simple custom button with 2 images and a little code to support switching states. With the artwork I could whip that up in about 10 minutes. the shazam circular progress bar would be more work, but the other poster showed a sample project that does nearly the same thing, that could be pretty easily adapted to a different look.)

Hi, thanks for taking time out to get back to me. I am after something like the iTunes play/pause button. I cant seem to find any documentation for it so it may well be that it is a custom button. I dont suppose you have a sample demo of this? The previous posters button seems ok but in terms of looks doesnt look as good as the iTunes one (in my opinion anyway).
k114l3d is offline   Reply With Quote
Old 06-21-2011, 03:20 AM   #6 (permalink)
Nuisance Developer
 
Join Date: Jul 2009
Location: Italy
Posts: 4,691
dany_dev is on a distinguished road
Default

the button that i see in iTunes is the exact thing of the control that I linked, you need to customize it as you prefer....You can't expect that someone already do it...
__________________
dany_dev is offline   Reply With Quote
Old 06-21-2011, 08:48 AM   #7 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 5
k114l3d is on a distinguished road
Default

Quote:
Originally Posted by dany_dev View Post
the button that i see in iTunes is the exact thing of the control that I linked, you need to customize it as you prefer....You can't expect that someone already do it...
hi, if i am correct, the code you linked draws the button using vectors?? i thought there was a supported way of doing this?

sorry but i am new to iphone programming so am not too familiar with this sort of thing. which parts in question would i need to customize?
k114l3d is offline   Reply With Quote
Old 06-24-2011, 08:09 AM   #8 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 5
k114l3d is on a distinguished road
Default

Quote:
Originally Posted by k114l3d View Post
hi, if i am correct, the code you linked draws the button using vectors?? i thought there was a supported way of doing this?

sorry but i am new to iphone programming so am not too familiar with this sort of thing. which parts in question would i need to customize?
anyone??
k114l3d is offline   Reply With Quote
Reply

Bookmarks

Tags
audio, play button, shazam

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: 324
7 members and 317 guests
chemistry, Dnnake, iOS.Lover, lendo, Leslie80, pbart, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,664
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Leslie80
Powered by vBadvanced CMPS v3.1.0

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