---
title: "Discussion on \"[Code Snippets #1] iOS  Open Camera and Photo Library\" | Hashnode"
description: "Discussion on \"[Code Snippets #1] iOS  Open Camera and Photo Library\". Import UIImagePickerControllerDelegate and UINavigationControllerDelegatedekegates in your class declaration:\n\nclass ViewController: UIViewController, \nUIImagePickerControllerDelegate, \nUINavigationControllerDelegate {\n   ...\n}\n\nInstantiate the Camer..."
url: "https://hashnode.com/posts/code-snippets-1-ios-open-camera-and-photo-library/60084dac394f022604c10f1c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [\[Code Snippets #1\] iOS Open Camera and Photo Library](https://blog.xserver.app/code-snippets-1-ios-open-camera-and-photo-library?utm_source=hashnode&utm_medium=feed)

Import UIImagePickerControllerDelegate and UINavigationControllerDelegatedekegates in your class declaration: class ViewController: UIViewController, UIImagePickerControllerDelegate, UINavigationControllerDelegate { ... } Instantiate the Camer...

Jan 20, 2021 · 2 min read · blog.xserver.app  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#ios-app-development](https://hashnode.com/tag/ios-app-development)
-   [#app-development](https://hashnode.com/tag/app-development)
-   [#apple](https://hashnode.com/tag/apple)
-   [#apps](https://hashnode.com/tag/apps)

## Written by

[XServer](https://hashnode.com/@xserverapp)

@xserverapp · TechLand

  
[View profile](https://hashnode.com/@xserverapp)

Backend for mobile, unity and web

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
