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
- How to control the volume of an iPhone programmatically in objective-c
- my website crash on safari The site sometimes crashes and I can't recover the crash
- Postal Framework crash in iPhone but runs successfully in simulator
- Xcode 15 building failure when using iphone 15 as simulator, using ios 17
- Images uploaded via Active Storage not displaying in Active Admin or on certain devices
- Any problem with creating provisioning profile with old Iphone?
- Does anyone know how to make iPad layout the same as iPhone's? Size wise the text and overall layout get's smaller when I run the app on the iPad
- Keyboard not appearing when connecting smart card reader to iPhones with type-c port. i.e. iPhone 15/ 15 pro
- Access the list of SIM mobile numbers installed in the iPhone
- Can we produce haptics and record from microphone the haptic sound at the same time on iOS?
- SwiftUI's localized string do not load from main bundle despite using the main bundle identifier (an xcode bug?)
- Cordova iOS only app upload through transport requires WKWatchKitApp
- Amazon s3 video is not played on Iphone
- build getting failed for ios xcode build -flutter app
- "Error when Importing 'mysdk' into iOS Demo App: dyld Library not loaded: @rpath/MQTTClient.framework/MQTTClient"
Related Questions in OBJECTIVE-C
- How to control the volume of an iPhone programmatically in objective-c
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- How to set value the descriptor of iOS BLE in Objective-C?
- Unexpected #selector() Behavior in Swift-Objective-C Interop?
- In what context can we use an unqualified #selector() expression in Swift?
- AVPictureInPictureController crashes during initialization
- How to use pow() in Objective-C?
- How to change the image on the MGSwipeButton in MGSwipeTableCell
- Using sort descriptors in Outline View
- Why is my Swift function not printing from inside the dataTask closure?
- Using UICollectionViewCell with IBOutlet
- Undefined symbol: _OBJC_CLASS_$_ only on simulator
- Why can't I receive a notification sent from Camera Extension(Swift) to an observer application (obj-c++)
- Behavior of __block modifier in objc
- Inserting subview into view where I've added subviews and sublayers
Related Questions in TRANSFORM
- Output of Cosine Similarity is not as expected
- Strange horizontal lines when transforming base-map shapefile?
- How to use model.predict after PCA transformation in Python?
- I am trying to transform a dataframe in a list of lists of dataframes
- Split Dataframe and stack horizontally
- is there any way to use RL for decoder only models
- How to distort an image with python PIL using an inner quad without cropping out of the quad
- Transform a series of JavaScript object keys into array(s) when they contain numbers
- About ToTensorV2() about albumentations
- how do i update a d3.js force directed graph after i translated its nodes?
- sed to find and transform binary number representation
- Wrong coordinate transformation with osr.CoordinateTransformation
- pd.wide_to_long in python is slow
- Butterfly flapping wings animation SVG
- How to move the background image by clicking and dragging the mouse smoothly?
Related Questions in LAYER
- How to reuse postgres database connection client across multiple AWS Lambda invocations?
- Accessing the last convolutional layer in the model name
- Delay observed between two moving sublayers
- Nuxt 3 Layers and Azure DevOps repositories
- How to Build and Export a MSAVI raster file from Google Earth Engine
- Can I track the position of an element on flutter and display measurements and distances as on figma?
- Custom Layer using Keras
- How to get Stamen background with political boundaries
- How can I solve this layering problem in Unity 2D?
- How can I make a transparent outline for circles so that the background shows through?
- ValueError: Layer 'dense' expected 2 variables, but received 0 variables during loading. Expected: ['dense/kernel:0', 'dense/bias:0']
- how to get the full sized layer mask like photoshop in LibPSD library
- Can we create a stored procedure or a SQL function in a B1 Database using Service layer?
- Python and 3D Design
- How can i use Tailwind directive @layer @apply, when i was in Tailwind CDN environment?
Related Questions in CATRANSFORM3D
- How to 3Drotate and 3Dtranslate CALayer with 180 degree angle using UIPanGestureRecognizer?
- How can I rotate a CATextLayer properly in Swift?
- CATransformation3D Transformed Label not saving on image
- Why doesn't the value a CALayer's "transform.scale" match its transform scale?
- Swift 3D rotation of UIImageView (CGAffineTransform or CATransform3D)
- non clickable cell, wen animation is on
- Animating CIFilter CIPerspectiveCorrection
- How to keep text horizontally during rotating transform of containing view
- Getting rotation angle during animation / getting rotation angle from CATransform3D
- Get scale, translation and rotation from CATransform3D
- NSButton not callable after CATransform3DMakeTranslation
- iOS: jumping uiview when rotating via CATransform3DRotate
- How to draw CATransform3D for this layer?
- Swift iOS -Apply additional changes to transform when using CATransform3D .m34 property to change perspective in Swift
- UIScrollView zooming and affected CAShapeLayer lineWidth
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 # Hahtags
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.