일모도원(日暮途遠) 개발자

[iOS개발] 파일앱(Files App)에 내 앱 보이기 본문

iOS개발/iOS개발

[iOS개발] 파일앱(Files App)에 내 앱 보이기

달님개발자 2022. 9. 4. 20:56
반응형

 

애플에서 제공해주는 "파일 앱"에 내 앱을 보이게 할려면 info.plist파일에 아래 두 항목을 추가하자.

 

"UIFileSharingEnabled"은 내 앱의 Document폴더를 오픈하게 해준다. (이것만으로는  Files app에 보이지 않는다.)

"LSSupportsOpeningDocumentsInPlace"를 추가하면 Files 앱에 내 앱이 아래처럼 보이다.

<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>
<key>UIFileSharingEnabled</key>
<true/>

 

"나의 iPhone"을 선택한다.

 

AraMultiPlayerPro앱이 있는걸 볼수 있다.

 


참고싸이트

https://developerinsider.co/how-to-access-document-directory-content-in-files-app/