Reputation: 669
I'm doing one application in that,i'm playing two videos one after another using MPMoviePlayerController.After the first video played in the middle of the second video it shows blank screen(white screen).At the time i want to display some text it simply says Loading...by using UILabel.Instead of white screen i want to display the text .
How can i do this.
Any ideas please..
Thank You
Upvotes: 0
Views: 1072
Reputation: 26390
To add the label as sub view of the movie player
[[player view] addSubview:label];
Upvotes: 0
Reputation: 94794
The MPMoviePlayerController has a property view
. Just add your UILabel as a subview of that view.
You'd also want to listen for the appropriate notifications to know when the second movie started to play so you could remove your UILabel. See the documentation for details.
Upvotes: 2