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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:58:09+00:00 2026-05-31T08:58:09+00:00

I have a issue ; I have used zxing library for my iPad application;

  • 0

I have a issue ; I have used zxing library for my iPad application; it works fine to read the qr code.

But its reader in landscape mode rotates the live feed from the camera to 90 degrees right; I want it to be without rotation just like in portrait mode where there is no rotation.

in portrait mode , the video feed is not rotated;have a look
in portrait mode , the video feed is not rotated;have a look

But in Landscapemodeleft , the video feed is rotated;have a look again
enter image description here

  • 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-31T08:58:11+00:00Added an answer on May 31, 2026 at 8:58 am

    Zxing library uses AVFoundation framework to show live camera layer. This layer(prevLayer) is added on the ZXingWidgetController‘s view layer in initCapture method. So whenever you rotate your camera this layer also rotate. To keep this layer in fixed position you will need to rotate it again by 0, M_PI, -M_PI/2, M_PI/2 in portrait, upsideDown, landscapeRight, landscapeLeft using following rotation transform

    CATransform3D transform =  CATransform3DMakeRotation(angle, 0, 0, 1.0);
    self.prevLayer.transform =transform;
    self.prevLayer.frame = frame; // you may need to set it also if needed.
    

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

Sidebar

Related Questions

I have used the cURL solution to solve XSS but there is an issue
Having problems solving a basic (but new to me) custom taxonomy issue--I have used
I have a pretty common layout issue that I have traditionally used a table
I have an issue with a third-party COM+ DLL meant to be used from
I have this issue with Core Data. I am creating a core-data-based application, for
I have an issue with my code, and I can't find out what the
I have an issue with character encoding: I have this page: http://www.studiomille.jp/class/ (its in
I have an issue and this is not something that I have ever used
Technology used: .NET 2008, C#, winforms So I currently have an issue. I have
I have an issue with a report using ReportBuilder 7.X in an application built

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.