---
title: "Bring bottom View to Top View while touchesMoved"  
description: "Bring bottom View to Top View while touchesMoved"  
author: "Andrew Deniel"  
published: 2013-06-04  
updated: 2013-06-05  
canonical: https://www.mindstick.com/forum/984/bring-bottom-view-to-top-view-while-touchesmoved  
category: "iphone"  
tags: ["iphone"]  
reading_time: 1 minute  

---

# Bring bottom View to Top View while touchesMoved

Hi Everyone,\
I have a [grid](https://www.mindstick.com/forum/369/how-can-i-add-a-column-name-to-my-grid) of [views](https://www.mindstick.com/forum/12838/compile-views-in-asp-dot-net-mvc), which are being added as **subviews** to a main [view](https://yourviews.mindstick.com/view/84701/layoffs-in-google-india-2023-view). When I drag a view which was added prior to the next one, and try to drag it underlays the view rather than [overlay](https://www.mindstick.com/blog/699/overlaying-the-action-bar-in-android-app) that view. How can I [fix](https://yourviews.mindstick.com/view/80763/donald-trump-ki-jeet-fix-hai) that [content while](https://answers.mindstick.com/qa/93346/how-many-keywords-we-are-allowed-to-attach-at-any-content-while-posting) the view are being dragged on **touchesMoved?****\**Thanks in advance. \

## Replies

### Reply by AVADHESH PATEL

Hi Andrew,\
Try as following\
**[self.view bringSubviewToFront:yourView];****\**Hope this helps...\


---

Original Source: https://www.mindstick.com/forum/984/bring-bottom-view-to-top-view-while-touchesmoved

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
