-
Notifications
You must be signed in to change notification settings - Fork 554
CardIOView rotating when rotation is not desired #117
Comments
CardIOView
rotating when rotation is not desired
@paultiarks to prevent the CardIOView from rotating, try this:
The latter is not strictly required, as CardIOView should respect whatever rotation constraints are imposed by the containing ViewController. But the app plist |
@dgoldman-ebay Performed both of these and the guide still rotates on device rotation for me. I could supply a test project if you're not able to reproduce on your end, or let me know any other way I could assist. |
@paultiarks I am able to reproduce this problem. So far it's not apparent to me why this is no longer working. I will have to dig deeper... Thanks for bringing this issue to our attention! |
@paultiarks This is rather interesting. I'm reasonably sure that a year or two ago I extensively tested this part of the code, and all was well. But I agree with you that it's not working now. When So please take a close look at your view controller's In the case of card.io's (You can probably simply fix this in your view controller's |
@dgoldman-ebay This fixes the issue enough that I think we can consider it closed. If this is fixed in your code such that we don't have to override |
Since @dgoldman-ebay has moved on to other things, I'm going to close this. Should someone decide to submit a pull request, we will review it. ;) |
Fixed in Version 5.1.0. |
CardIOView
seems to be ignoringallowFreelyRotatingCardGuide
causing the scanner to appear incorrectly rotated in some cases. For instance when not using the scanner view full screen on iPhone and only supporting portrait orientation causes the scanner view to rotate (while the rest of the app's UI stays in portrait) when the device is rotated to landscape.Is this a bug with the SDK or is there something I'm doing wrong?
The text was updated successfully, but these errors were encountered: