¡@

Home 

2014/10/15 ¤U¤È 10:11:38

iphone Programming Glossary: mybgmusic

iOS : How to reference a music background from a singleton class?

http://stackoverflow.com/questions/8455576/ios-how-to-reference-a-music-background-from-a-singleton-class

How to reference a music background from a singleton class I have done a singleton class called MyBgMusic.h MyBgMusic.m. How to reference that singleton class to my SecondViewController or the rest of the XIB. Here is my singleton.. How to reference a music background from a singleton class I have done a singleton class called MyBgMusic.h MyBgMusic.m. How to reference that singleton class to my SecondViewController or the rest of the XIB. Here is my singleton class H.. XIB. Here is my singleton class H file #import Foundation Foundation.h #import AVFoundation AVAudioPlayer.h @interface MyBgMusic UIViewController AVAudioPlayerDelegate AVAudioPlayer player UIButton playBgMusic @property nonatomic retain IBOutlet AVAudioPlayer..