---
title: "How to set background image into UIPickerView in iOS?"  
description: "How to set background image into UIPickerView in iOS?"  
author: "Anonymous User"  
published: 2016-01-27  
updated: 2016-10-16  
canonical: https://www.mindstick.com/forum/33932/how-to-set-background-image-into-uipickerview-in-ios  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# How to set background image into UIPickerView in iOS?

I have created an [iPhone application](https://www.mindstick.com/forum/23139/can-i-embed-a-custom-font-in-an-iphone-application). In our application I used UIPickerView [controller](https://www.mindstick.com/blog/273/passing-values-from-controller-to-view-in-asp-dot-net-mvc), I want to know that is it possible to change the [background](https://www.mindstick.com/articles/65/how-to-change-background-color-of-tab-control-in-c-sharp) of UIPickerView!\
Please [guide](https://www.mindstick.com/articles/44463/business-to-business-vat-reclaiming-a-guide-for-your-employees) me how to do it Or can we make UIPickerView skin [transparent](https://www.mindstick.com/forum/1784/wpf-webbrowser-on-transparent-window)?

## Replies

### Reply by Somal Jaspreet

hey guysi want to add images to picker view , and i am real new to coding

### Reply by Tarun Kumar

Yes, of course we can change the background of UIPickerView Controller.\
First of all create a UIView which will be used as background of UIPickerView and after we will add this view as subview of picker view, like this:

```
UIView *backgroundViewForPickerView = [[UIView alloc]                                  initWithFrame:CGrectMake(0,0,150,60)];[backgroundViewForPickerView setBackgroundColor: [UIColor colorWithPatternImage:                                  [UIImage imageNamed:@"BackgroundView.png"]]];[[[pickerView subViews] objectAtIndex:2] addSubview: backgroundViewForPickerView];
```

I hope it will be helpful for you. thank you.


---

Original Source: https://www.mindstick.com/forum/33932/how-to-set-background-image-into-uipickerview-in-ios

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
