Discussion Forums  >  Uncategorized

Replies: 2    Views: 241

Vassan
Code is Art
Profile
Posts: 28
Reg: Apr 21, 2011
Chennai
280
04/28/11 10:06 PM (14 years ago)

What is Differ B/w Xcode 3.1 and 3.2.5

Hi Guys When i'm using xcode 3.1 NSBundle *Bundle =[NSBundle mainBundle]; NSString *musicPath =[Bundle pathForResource:@Track1 ofType:@mp3]; NSURL *musicURL =[[NSURL fileURLWithPath:musicPath]retain]; MPMoviePlayerController *music =[[MPMoviePlayerController alloc]initWithContentURL:musicURL]; [music play]; I used above code .Its run good and native player is open But i'm using same code in Xcode3.2.5 Not native player not open it just play songs can you help pls
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/28/11 10:31 PM (14 years ago)
Have no idea where you're impelementing this code but the reason it works or does not work has zero to do with the version of Xcode you are running. As long as you are including necessary Frameworks in your projects the behavior should be the same with any version of Xcode. However...there are several different ways to implement the 'view' that opens with the MPMoviePlayerController and the method you should use depends on the targeted device, not Xcode. Do a google search for 'MPMoviePlayerController' doesn't show' or somethign like that for loads of info about this.
 
Vassan
Code is Art
Profile
Posts: 28
Reg: Apr 21, 2011
Chennai
280
like
04/28/11 10:37 PM (14 years ago)
Thanx David .I Will try
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.