I have a CALayer with 9 sublayers, which occasionally flip vertically and I use CATransform3D to do so. Now, my problem is that, sometimes, I need to apply a transformation to the super layer of those 9 layers. When I do that, the position and transformation of the sublayers gets all screwed up. Is there a way to ignore the transform of the parent layer, so that it doesn't affect the sublayers?
Ignore parent layer transform
474 Views Asked by kopproduction At
1
There are 1 best solutions below
Related Questions in IPHONE
- UIWebView Screen Fitting Issue
- ios responsive design not working (too wide in portrait orientation)
- Setting View orientation to portrait is ignored
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- What is the limit for number of subscribers to a stream(publisher's) in opentok/tokbox iOS SDK?
- How to generate request format for WCF web service method for Mac and iPhone
- Difference between gethostname() and [NSProcessInfo hostName]?
- How to force close ipad/iphone keypad when input element is not focused using JS?
- iOS app rejected because of in-app purchase
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Labels properties changing in Xcode
- Terminating app due to uncaught exception
- Exchange plist data between 2 iPad using iCloud
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in TRANSFORM
- transform-origin doesnt apply in safari
- Unity3D: Adding charged force in relation to position
- Calculate new position post rotation
- CSS3 transform rotate without overriding transform translate
- CSS Transform only not working on IOS
- Unity3D: Adding force based on direction an object is facing
- CSS :hover transform scale command rotate object instead
- Convert String "2008-02-10T12:29:33.000" to a Date with the same format 2008-02-10T12:29:33.000 in Java
- MySQL: Transform row data to columns
- android XML transform error: multiple values in xsl:variable's select tag?
- Difference between flipping a view using rotation and scale transforms
- Unity3D: Moving a child to orbit a parent
- XslCompiledTransform Transform Method Not Working
- XSLT: Get all children of parents with specified attributes
- Css Transform - Trigger event each time the mouse is out and in of a div
Related Questions in LAYER
- Converting Obj-C to Swift
- layer vs quickblox baas comparison
- Web application architecture, N-tiers, 3 tiers or multi-layer
- How to work in Atom Editor's view directly
- OpenLayers3: best way to display multiple WMS layers in trasparency
- Leaflet: layers control for WMS
- Where should I implement e-mail logic in N-tier application?
- get a SubLayer with swift2 and Xcode 7
- Modifying the look of an NSButton with a CALayer works differently in macOS 10.12 and 10.10
- How to choose layers in RNN (recurrent neural networks)?
- All new layer si transparent
- Can I transport just the image changes/layers i'm concerned with?
- View border Color not changing
- Add Translucent Image to JLayeredPane
- How to apply Perspective 3d Transform on image and save that image in document directory
Related Questions in CATRANSFORM3D
- Need a sort of a reverse CATransform3d
- Generate CATransform3D using two CGrect s?
- How to create complex animation with better performance in iOS?
- Scale UIView not from center, but from bottom right corner using CATransform3DScale
- How to add image with parallax effect above UITableView header and keep header sticky?
- How To Apply Complex CALayer Transform Changes?
- Apply CATransform3D on UIImage while drawing on context
- Rotate UIView around right side of screen
- How to find X, Y and Rotation value of a UIView after CATransform3D applied
- CATransform3D row/column order
- Applying the same perspective and rotation to all CALayer elements (unlike Coverflow)
- CATransformLayer: Autoresize sublayers to fill bounds?
- CATransform3D rotate causes half of image to disappear
- Subview getting clipped by its parent view when scale transformation done -Objective C
- Origami fold effect for UIView and NavigationController Bar
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The whole point of the layer tree is to inherit attributes like transforms. If you don't want certain layers to inherit from their parent, insert them as another layer's children.
You could also apply the inverse transform to the child layers, but that would be hackish, compute-intensive, and open the door to rounding errors.