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

  • Home
  • SEARCH
  • 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 8937187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:21:52+00:00 2026-06-15T10:21:52+00:00

A view is flipped using this: self.transform = CGAffineTransformMakeScale(-1, 1); // self is an

  • 0

A view is flipped using this:

self.transform = CGAffineTransformMakeScale(-1, 1);  // self is an UIView

To rotate this view:

-(void)handleRotate:(UIRotationGestureRecognizer *)recognizer
{
    recognizer.view.transform = CGAffineTransformRotate(recognizer.view.transform, recognizer.rotation);
    recognizer.rotation = 0;
}

The issue is that after the view is flipped so is the rotation’s direction. Any solution how to fix this?

Edit: My current solution is using a boolean and negate the recognizer.rotation value in handleRotate method. But I am still looking for the technical solution.

  • 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-06-15T10:21:53+00:00Added an answer on June 15, 2026 at 10:21 am

    Have you try self.transform.a * recognizer.rotation ?
    If I understand correctly the AffineTransform, the X scaling is store at a.

    CGAffineTransform Reference Look for CGAffineTransformMakeScale and CGAffineTransformMake

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

Sidebar

Related Questions

I have a Flip View and on this flipped view I have a UItextView,
I am having this error android.widget.LinearLayout$LayoutParams. When using this code. public void modifyingTextViews(){//This sets
I am using gesture detector to catch flings and using a view flipper to
I use the following code to animate a flip transition on a view: [UIView
I'm using a ViewFlipper to flip between three Views with a simple animation. This
I'm using a view flipper with tabs at the top of the view. I
My application is set up using ViewFlipper so that I have one main View
I am using an iOS 5 storyboard-based project. When presenting a modal view controller
I have see this character in a View description in the next code...the view
I'm thinking about using a ViewFlipper for an Wizard like Activity. But I see

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.