Привет Я пытаюсь играть жить потокового API в мое приложение, но их это какая-то ошибка происходит, как показано ниже ...Я пытаюсь играть потоковую API в MPMoviePlayerViewController
Response Неудача. Ошибка: операция не может быть завершена. (Cocoa ошибка 3840.)
пожалуйста, помогите разобраться в этой проблеме
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
NSLog(@"%@",arrayId);
Service *srv=[[Service alloc]init];
NSString *[email protected]"http://streamtvbox.com/site/api/matrix/";
NSString *[email protected]"channel";
NSMutableDictionary *dict=[[NSMutableDictionary alloc]init];
[dict setValue:arrayId forKey:@"id"];
[srv postToURL:str withMethod:method andParams:dict completion:^(BOOL success, NSDictionary *responseObj)
{
if (success) {
NSLog(@"Hello I am success");
}
NSLog(@"%@",responseObj);
_player = [[MPMoviePlayerViewController alloc] initWithContentURL:responseObj];
[self presentMoviePlayerViewControllerAnimated:_player];
}];
}
привет, ты их? –