---
title: "Pick image from device memory using UIImagePickerController"  
description: "Pick image from device memory using UIImagePickerController"  
author: "Anonymous User"  
published: 2015-10-19  
updated: 2015-10-20  
canonical: https://www.mindstick.com/forum/33525/pick-image-from-device-memory-using-uiimagepickercontroller  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# Pick image from device memory using UIImagePickerController

I was creating an app and I want to implement [functionality](https://www.mindstick.com/blog/136/using-watermark-functionality-in-textbox-by-jquery) of [camera](https://www.mindstick.com/forum/33574/enabling-camera-functionality-using-uiimagepickercontroller-class) in our app so I using UIImagePickerController to pick [image](https://www.mindstick.com/articles/23551/an-investigate-distinctive-seafood-restaurant-for-your-image-stamp-character) using camera and it executes successfully.\
But after clicking image I [am unable to browse](https://answers.mindstick.com/qa/94693/i-am-unable-to-browse-through-chrome-in-my-laptop-what-are-the-solutions) [images](https://www.mindstick.com/interview/1067/what-is-the-php-predefined-variable-that-tells-the-what-type-of-images-that-php-support) from our [device](https://www.mindstick.com/blog/149/retriving-network-device-information-in-c-sharp) [memory](https://www.mindstick.com/blog/300050/what-causes-sudden-memory-loss),\
I am new in iPhone so please help me.

## Replies

### Reply by Tarun Kumar

Your problem is not so big so don't worry, here I am giving you the code which helps you to pick image from library:

create an action method browseImage: and use this code

```
- (IBAction)browseImage:(id)sender {     UIImagePickerController *picker = [[UIImagePickerController alloc]init];    picker.delegate = self;    picker.allowsEditing = YES;    picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;    [self presentViewController:picker animated:YES completion:NULL];}
```


---

Original Source: https://www.mindstick.com/forum/33525/pick-image-from-device-memory-using-uiimagepickercontroller

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
