iv created an app but id like to add a feature where when i press a button it opens my spotify app and automatically plays music... if this is even possible that is... iv got most of it done i think, iv got the button and it opens spotify but cant find out how to auto play, has anyone done this or knows how to?
-(IBAction)spotify:(id)sender {
NSString *stringURL = @"spotify:";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];
}
please help :)