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 10-19-2010, 03:51 PM   #1 (permalink)
Registered Member
 
Join Date: Sep 2010
Posts: 6
BAR115 is on a distinguished road
Default AVAudioPlayer to play in multiple views but access the same song

I am trying to control audio from many different views. Is there an easy way to do this?
I have made a view/class and put all the audio enablers inside and then reference it. I did that by making a IBOutlet and then accessing my audio player in that view from other views using that.
Except ever time I start the song with accessing that view from another view it adds another song that is playing.
Long story short:
When i am in view1 and access musicview it starts the song and if im in view2 and access music view it plays another song on top of the one i started in view1.
I would like both views to control the same song.
Someone please help me here.
BAR115 is offline   Reply With Quote
Reply

Bookmarks

Tags
avaudioplayer, multiple, play, stop, views

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: 332
7 members and 325 guests
Desert Diva, dre, hain, mottdog, oceanlablight, schmallegory
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,895
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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