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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:19:37+00:00 2026-06-12T13:19:37+00:00

Our app has a rotating map view which aligns with the compass heading. We

  • 0

Our app has a rotating map view which aligns with the compass heading. We counter-rotate the annotations so that their callouts remain horizontal for reading. This works fine on iOS5 devices but is broken on iOS6 (problem seen with same binary as used on iOS5 device and with binary built with iOS6 SDK). The annotations initially rotate to the correct horizontal position and then a short time later revert to the un-corrected rotation. We cannot see any events that are causing this. This is the code snippet we are using in – (MKAnnotationView *)mapView:(MKMapView *)theMapView viewForAnnotation:(id )annotation

CATransform3D transformZ = CATransform3DIdentity;
transformZ = CATransform3DRotate(transformZ, _rotationZ, 0, 0, 1);
annotation.myView.layer.transform = transformZ;

Anyone else seen this and anyone got any suggestions on how to fix it on iOS6?

  • 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-12T13:19:38+00:00Added an answer on June 12, 2026 at 1:19 pm

    I had an identical problem so my workaround may work for you. I’ve also submitted a bug to Apple on it. For me, every time the map got panned by the user the Annotations would get “unrotated”.

    In my code I set the rotations using CGAffineTransformMakeRotation and I don’t set it in viewForAnnotation but whenever the users location get’s updated. So that is a bit different than you.

    My workaround was to add an additional minor rotation at the bottom of my viewForAnnotation method.

    if(is6orMore) {
            [annView setTransform:CGAffineTransformMakeRotation(.001)]; //iOS6 BUG WORKAROUND !!!!!!!
     }
    

    So for you, I’m not sure if that works, since you are rotating differently and doing it in viewForAnnotation. But give it a try.

    Took me forever to find and I just happened across this fix.

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

Sidebar

Related Questions

Our iOS app has a Web View that is rendering pages from file: URLs.
We're designing an Android app that has several activities which are working in a
Part of our web app has a little Ajax method that will load a
My app has a table view that loads data from an XML file and
Our 3rd Party app has a custom View with the following: FROM dbo.vwPositionAssetSubWeight INNER
Our app has a lease_booking model with a field of lease_date which is a
After update our iphone app can not access the keychain. The distribution certificate has
Our app uses a component that requires a license file in the directory with
Our app has a UITableViewController with some custom section headers. These section headers are
We have a Spring application that uses Apache DBCP for connection pooling. Our app

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.