ios - Incompatible pointer- MPMoviePlayer from URL -


I have an NSArray that loads video files from XML data when you press an array item It shows a button in which the NSString url is loaded. Here's the code to work on here.

  - (IBAction) playMovie: (ID) sender {RSSItem * item = (RSSItem *) self.description; NSURL * movieUrl = [NSURL URLWithString: item]; MPMoviePlayerController * Movie Player Controller = [[MP3 MPV Player Controller Alok] Init with Content URL: Film URL]; [Self.view addSubview: moviePlayerController.view]; Movie Player Controller Full screen = yes; [Movieplayer controller play]; }   

I'm getting a warning '' Incompatible Notifier Type 'RSSIT * _String' type is sending the parameter of 'NSString *'

Whatever I think Can I try to do everything I can to convert the string to string and bring it to work. Please tell me that this question is very specific for the forum or basic.

Thank you!

this:

RSSItem * item = (RSSItem *) self .description;

It should be:

NSString * item = self.description;

Your code is upset and upset about the above line. Inserting details from RSSItem Is trying (which is NSString )

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -