> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 카메라 사용하기

> PixelGames에서 플레이어가 프로필 사진을 찍을 수 있도록 해보세요.

export const AiPrompt = ({children}) => {
  return <CodeBlock className="relative block font-sans whitespace-pre-wrap break-words">
      <div className="pr-7">
        {children}
      </div>
    </CodeBlock>;
};

export const cameraPrompt = "Let players set a profile photo for the leaderboard using their camera or photo library.";

<AiPrompt>
  {cameraPrompt}
</AiPrompt>

플레이어의 프로필에 버튼이 추가되어, 카메라 또는 포토 라이브러리 중 원하는 방식으로 열 수 있습니다.

<Frame caption="PixelGames 프로필 사진을 변경하기 위한 네이티브 액션 시트.">
  <img src="https://mintcdn.com/replit/WuaQIOfW5oxRlxex/images/pixelgames/mobile/native-action-sheet.png?fit=max&auto=format&n=WuaQIOfW5oxRlxex&q=85&s=776916fcff3a32b3415a6cccfd683310" alt="Take a photo, Choose from library, Pick a pixel avatar 옵션이 있는 네이티브 iOS 액션 시트" data-path="images/pixelgames/mobile/native-action-sheet.png" width="1516" height="418" data-path="images/pixelgames/mobile/native-action-sheet.png" />
</Frame>

iOS에서는 시스템 프롬프트가 한 번만 나타납니다. 거부하면 PixelGames는 플레이어를
**Settings → PixelGames → Camera**로 안내하는 방법으로만 다시 요청할 수 있습니다. Android에서는
플레이어가 "다시 표시 안 함"을 선택할 때까지 다음 시도 시 런타임 권한 대화상자가 다시 나타날 수 있습니다.

## 다음 단계

<CardGroup cols={2}>
  <Card title="연락처에 접근하기" icon="address-book" href="/ko/build/mobile-contacts">
    어떤 친구가 플레이 중인지 플레이어가 볼 수 있도록 해보세요.
  </Card>

  <Card title="모바일 앱에서 이미지 저장하기" icon="image" href="/ko/build/mobile-store-images">
    사진을 App Storage에 저장해보세요.
  </Card>
</CardGroup>

## 관련 항목

* [iOS 네이티브 컴포넌트 사용하기](/ko/build/mobile-native-components)
