Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .
- .
- .
- -(void)soundDidFinish{
- console.log("Sound finished...posting notification...");
- [[CPNotificationCenter defaultCenter] postNotificationName:"SongEnded" object:self];
- }
- -(void)soundPosition{
- console.log(song.position);
- var info = [[CPDictionary alloc] dictionaryWithObject:song.position forKey:"time"];
- [[CPNotificationCenter defaultCenter] postNotificationName:"pos" object:self userInfo:info];
- }
- .
- .
- .
Add Comment
Please, Sign In to add comment