2010-12-08 2 views
1

iPhone에서 내 노래를 알림 음으로 설정하고 싶습니다. 노래에 액세스하여 경보로 설정하는 방법은 무엇입니까? 그리고 알람 시간을 40 초 이상 늘릴 수 있습니까? 나는 전체 음을 경보 음으로 연주하고 싶다. 감사합니다iPhone에서 노래를 알람으로 설정하는 방법

+0

그게 불가능하지 생각합니다. – hallie

+0

@hallie : 그러나 많은 휴대 전화에서 매우 일반적인 기능입니다. 노래를 경보 음으로 설정하는 것은 큰 문제가 아닙니다. 나는 약간의 해결책이 있어야한다고 희망한다. – Developer

+0

이 질문은 응용 프로그램 개발과 관련이 있다고 생각하십니까? –

답변

1

[컬렉션이 사용자 정보를 사전

에 반환에서 당신은 다시 노래를 재생 특정 노래가 재생 얻을 MPMediaQuery를 사용할 때 representativeItem을 저장합니다. 저장된 노래

http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMediaPropertyPredicate_ClassReference/Reference/Reference.html#//apple_ref/occ/clm/MPMediaPropertyPredicate/predicateWithValue:forProperty를 조회하는 방법에 대한

http://developer.apple.com/iphone/library/documentation/mediaplayer/reference/MPMediaQuery_ClassReference/Reference/Reference.html#//apple_ref/doc/uid/TP40008220

세부 정보 : 쿼리 데이터

애플 문서, 플러스 예

0
MPMediaPickerController *picker = [[MPMediaPickerController alloc] initWithMediaTypes: MPMediaTypeMusic]; 

picker.delegate = self; 
picker.allowsPickingMultipleItems = NO; 
picker.prompt = NSLocalizedString (@"Select any song from the list", @"Prompt to user to choose some songs to play"); 

[self presentModalViewController: picker animated: YES]; 
[picker release]; 
+0

고마워요. 고스트 라이더 :-) – Developer

관련 문제