---
title: "setting background image on iPhone app"  
description: "setting background image on iPhone app"  
author: "Anonymous User"  
published: 2015-11-02  
updated: 2015-11-02  
canonical: https://www.mindstick.com/forum/33558/setting-background-image-on-iphone-app  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# setting background image on iPhone app

I have created an [iPhone app](https://www.mindstick.com/articles/208914/4life-innovations-is-bracing-up-to-acquire-ios-13-for-iphone-app-development), [now](https://yourviews.mindstick.com/view/81402/it-s-liberals-vs-progressives-in-us-politics-now) I want to set a single [Image](https://www.mindstick.com/articles/23551/an-investigate-distinctive-seafood-restaurant-for-your-image-stamp-character) as a [background](https://www.mindstick.com/articles/65/how-to-change-background-color-of-tab-control-in-c-sharp) on my app,\
no matter what [view Controller](https://www.mindstick.com/forum/33709/how-to-use-table-view-controller-with-small-sized-in-ios) are on.\
How can I [solve this problem](https://answers.mindstick.com/qa/94681/my-google-assistant-shows-completely-different-search-results-from-what-i-ask-how-can-i-solve-this-problem), please help me?

## Replies

### Reply by Tarun Kumar

Here is an easy solution of your [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic).\
Use code like this:

```
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage                             imageNamed:@"image_name_with_extention"]];
```

You can use this code with the delegate like this:

```
window.backgroundColor = [UIColor colorWithPatternImage:[UIImage                         imageNamed:@"image_name_with_extention"]];
```

and if you want to set image for each [view](https://yourviews.mindstick.com/view/84701/layoffs-in-google-india-2023-view), do this:

```
self.view.backgroundColor = [UIColor clearColor];
```


---

Original Source: https://www.mindstick.com/forum/33558/setting-background-image-on-iphone-app

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
