Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6350109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:45:04+00:00 2026-05-24T21:45:04+00:00

So I have an app where I have a UIImageView which is a subview

  • 0

So I have an app where I have a UIImageView which is a subview of a larger UIView. I’ve attached some UIGestureRecognizers to the UIImageView so that the user can drag it around within the parent UIView. I’d like for the UIImageView, when dragged out of the boundary of the UIView that encloses it, to have the appearance that it has disappeared off the screen rather than it spilling over to the other UIViews within my controller (IE going underneath the boundary rather than above it). What is the cleanest way to accomplish this?

Thanks,

CoDEFRo

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T21:45:05+00:00Added an answer on May 24, 2026 at 9:45 pm

    From http://developer.apple.com/library/iOS/#documentation/UIKit/Reference/UIView_Class/UIView/UIView.html

    clipsToBounds

    A Boolean value that determines whether subviews are confined to the bounds of the receiver.

    @property(nonatomic) BOOL clipsToBounds

    Discussion

    Setting this value to YES causes subviews to be clipped to the bounds of the receiver. If set to NO, subviews whose frames extend beyond the visible bounds of the receiver are not clipped. The default value is NO.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

in my app i have UIImageView inside UIScrollview which i can zoom in and
I have an app that shows a series of UIImageView s on a ScrollView
I'm creating a simple messaging app, in which the user can send either an
I have an app which has to load some data at startup, so I
I am writing a simple app where I have a UIImageView that when clicked
I need some help. I have an app that is based on UITabBarController. It
I have a 300 x 300 sized UIImageView in my app which is displaying
In my iPhone app, I need to resize some images of type UIImageView which
I have a very simple app that processes touches on a UIImageView derived view.
I have an animation in my app that grows a UIImageView and then shrinks

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.