본문 바로가기
# 애플 [Apple]/iOS

[iOS] 진동 및 시스템 효과음 (Vibration and System Sound)

by cy_mos 2019. 6. 27.
반응형

+ System Sound 파일 경로

/System/Library/Audio/UISounds/

http://iphonedevwiki.net/index.php/AudioServices


📄 System Sound Play Swift Source Code

import AudioToolbox

AudioServicesPlaySystemSound(/* SERVICE_NUMBER */ 4095)

🚀 REFERENCE

 

AudioServices - iPhone Development Wiki

From iPhone Development Wiki AudioServices is a group of C functions in AudioToolbox for playing short (≤30 seconds) sounds. Predefined sounds There are some predefined system sounds, for the system sound ID in the range 1000 to 2000 (decimal), as shown be

iphonedevwiki.net

 

반응형

댓글