Hi, I use following code to play a remote url mp3. But I want to know when its ready to play the music to show up some loading indicator until then.
AVPlayer *player = [[AVPlayer playerWithURL:[NSURL URLWithString:awdioURL]] retain]; -- How do I update my view when I am using AVPlayer. There's following method, – addPeriodicTimeObserverForInterval:queue:usingBlock:<http://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVPlayer_Class/Reference/Reference.html#//apple_ref/occ/instm/AVPlayer/addPeriodicTimeObserverForInterval:queue:usingBlock:>but I am not sure how to use it in or whether its the right thing. Could some on kindly help on this. Thanks, Tharindu _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com