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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:52:58+00:00 2026-05-28T00:52:58+00:00

I have a UIImageView which gets rotated. When it rotates to the point where

  • 0

I have a UIImageView which gets rotated. When it rotates to the point where it is 90° to the user, it is obvious that the view doesn’t have any depth to it. Like looking at a piece of paper at 90°.

I am using:

// Rotate

CATransform3D rotationAndPerspectiveTransform2 = CATransform3DIdentity;
rotationAndPerspectiveTransform2.m34 = 1.0 / -400;
rotationAndPerspectiveTransform2 = CATransform3DRotate(rotationAndPerspectiveTransform2, M_PI, 1.0f, 0.0f, 0.0f);

How could I add some depth to my view so that when it hits 90° it has an edge more like a 3D object rather than a flat view?

  • 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-28T00:52:59+00:00Added an answer on May 28, 2026 at 12:52 am

    You can set up a 3D layer tree in CA by positioning them in 3D space, with one layer per side. So, a 3D rotating cube would have 6 layers; one for each face.

    If you make all those layers children of a CATransformLayer (T), you can apply a single transform to T, to, for example, rotate the entire structure in 3D space.

    There is no way to “extrude” a CALayer.

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

Sidebar

Related Questions

I have a view in which I paint a dotted line when the user
My problem is this - I have a UIImageView which a user can rotate
I have an UIImageView which I can rotate using CABasicAnimation . That works fine.
I currently have a UIImageView which I can move/drag around the view. How does
So I have an UIImageView which can be rotated about its center with touchesMoved.
I have an UIImageView which I want to rotate a little bit, but I
I have a UIImageView which has a png image sequence loaded into it. My
I have a custom UIImageView class which I use to handle multi-touch events on
I have some UIImageViews that are nested in UIViews, which group them together. They're
I have a UIImageView object that when clicked it will play a animation, I

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.