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

Hello I recently posted this question but very badly explained the problem, but i'll
As demonstrated in this answer I recently posted, I seem to be confused about
There was a post on here recently which posed the following question: You have
I recently posted this question on the r-help mailing list but got no answers,
I recently posted a question here about some memory issues I was having. I've
I posted recently regarding onbeforeunload implementation. Its working now but that only solved half
Recently posted a question regarding the HttpClient over Https ( found here ). I've
Apologies if this question is already posted. I didn't find the answer i was
I recently posted this question about codes for a gift-card-like voucher that users can
Please see here for a question I recently asked. The only answer you should

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.