• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Subview getting clipped by its parent view when scale transformation done
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subview getting clipped by its parent view when scale transformation done


  • Subject: Subview getting clipped by its parent view when scale transformation done
  • From: Sivakumar Kandappan Singaravadivelu <email@hidden>
  • Date: Tue, 01 Mar 2011 03:55:48 -0500

My project involves *4 independent views in screens*. In this case,apple
documentation states us to have only *one viewcontroller and have 4 NSObject
* to control the different views.I didnt use Interface builder to create the
views and NSObject, I didnt by declaring programmatically. In one of the
view I have all my images loaded up using imageview as their subview.

What I`m trying to do is trying some animation similar to mac os dock like
animation. zooming in when touched.

Problem is when i`m zooming the images when the view is being touched. I
used CATransform3dMakeScale. My imageview is being clipped by the parent
view. Can you help me out in this. I guess I must have missed some flag.

I trid clipstobounds, and resizing flags. Nothing works.

My suspection whether the problem may be because of the following reasoens
but i don`t know how to debug it

1) Since I created NSObject without using viewcontroller. Did I miss any of
the flags that will be automatically set during loadView or init method. 2)
I also have doubt whether the way in which I have used the NSObject is
correct or not.

Thanks
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: NSAttributedString crashes
  • Next by Date: Re: How to find unencoded characters
  • Previous by thread: Re: How to find unencoded characters
  • Next by thread: Eviction Policy in NSCache and NSDiscardableContent
  • Index(es):
    • Date
    • Thread