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 506367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:41:38+00:00 2026-05-13T06:41:38+00:00

I recently posted my problem but neither did I get an answer here or

  • 0

I recently posted my problem but neither did I get an answer here or elsewhere, nor can I find my post again…
Anyway, I want to try to state my point clearer, hoping you can help me this time maybe.

The part of code, this is about, looks like this:

CABasicAnimation *animation = nil; 
CATransform3D transform;

animation = [CABasicAnimation animationWithKeyPath:@"transform"];

transform = CATransform3DMakeRotation(1.57f, 0.0f, 1.0f, 0.0f); 
value = [NSValue valueWithCATransform3D:transform]; 
[animation setToValue:value];
[animation setAutoreverses:YES]; 
[animation setDuration:0.5f];
[[shieldView layer] addAnimation:animation forKey:@"180"];

What happens, is that I have a UIImageView with an image in it. I take this View and rotate it around the z-Axis for half a turn (1.57 measured in arc).

Now there is another View overlapping with the one being transformed in 3d. This leads to my problem: As soon as the transformation is executed, the transformed layer is sort of clipped against the overlapping view, but wrong, so that u see a ‘flickering’ effect to both Views.

Now I don’t know, why this happens. I would expect the view to be animated appropriately, without this ‘bug’, and the Views to be just displayed correctly…. since I do not do anything special.

I have tried to overlay 2D transformations, using the ‘beginAnimations’ and ‘commitAnimations’ context, which works fine. This means, the problem is sort of hidden in the 3D rotation of my View.

You guys have any clues on this? I hope I explained that well enough.

  • 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-13T06:41:38+00:00Added an answer on May 13, 2026 at 6:41 am

    If these are two sibling views (subviews of the same superview), their layers can overlap, potentially creating the visual artifacts you see. You should be able to either reposition the views relative to one another in the view hierarchy (make one view a level above or below the other) or directly set the Z position of the view’s layer. If you do something like

    shieldView.layer.zPosition = 1.0f;
    

    your shieldView’s layer should be slightly above the other view’s layer (unless I’m remembering the coordinate space wrong and it needs to be -1.0f) and you should be able to avoid the clipping you see now.

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

Sidebar

Related Questions

Steve Yegge recently posted an interesting blog post on what he calls the universal
I recently posted this question about codes for a gift-card-like voucher that users can
I recently posted a question about Azure... is it really an OS? I understand
Recently Jeff has posted regarding his trouble with database deadlocks related to reading. Multiversion
There was a thread on this in comp.lang.javascript recently where victory was announced but
UPDATE As Mathias notes below, this exact problem has been reported and resolved here:
Interesting problem posed by a friend recently: Imagine you've got a List< NodeType >
Is there an easy way to sort sphinx results? Recently posted (by dates) Highest
I recently seen a flash game application that posted a score to a db
Recently I have been investigating the possibilities of caching in ASP.NET. I rolled my

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.