Zbar camera view border color - iphone

I'm using Zbar qr and bar code recongnition tool in my app.
I've recompiled the framework to support iPad screen size as well, but now I get is the redish and bluish rectangle around camera view.
Any ideas how get reed of it ?

Have you tried reader.cameraOverlayView = nil ?
I guess you have already read the documentation, but if you did not, here is the link : ZBar documentation

Actually I've fixed this in the sources of Zbar, recompiled and used my own build of library...

Related

Zbar code ios SDK customisation

I am developing a barcode reader iphone application using zbar SDK.Its working fine for me.While scanning an QRcode it is detecting very fast and decoding it.The problem is , I need to add some for features for scanning functionality.This is my requirement - > While scanning ,if a QRcode is detected it should mark with some green dots.I saw this thing in an app which is using ZXING sdk. Is there any way I can include this features to my app which is using ZBAR SDK
Do you see the cameraOverlayView at all? set the background color to red or something: cameraOverlayView.backgroundColor = [UIColor redColor];
If you don't see the cameraOverlayView at all, then probably you need to set reader. showsZBarControls = NO which will disable the the default controls and use your custom overlay.
If you do see the cameraOverlayView, then the label is probably outside the bounds. Play around with the origin points and get it into position.
BTW I see you're not using ARC, make sure you release instructionLabel!

May I handle moving icon of my iPhone application

Is it possible to handle the animation of moving icons in an iPhone application? If so, how?
As far as I know, you cannot. The icon motion animation is generated by iOS based on the still icon, and you have no control of it.
I think without .gif image you can not make animated icon and ios will not support that so you have no control on it.

Translate does not work in UIImagePickerController.cameraViewTransform

My app stopped working correctly with iOS 4.3. It uses a custom camera view overlay for the UIImagePickerController. And I want to adjust the size and origon of the camera preview view by set cameraViewTransform as CGAffineTransformMakeTranslation and CGAffineTransformScale, but the CGAffineTransformMakeTranslation seems to have no effect, However scale and rotate transforms work as expected. And the preview View is always in the center of the screen, I want to make the change.
I had try method as below, but does not work too.
Scaled live iPhone Camera view in center, "CGAffineTransformTranslate" not working
Any suggestion? Thanks.
Yes, I am seeing this on my 4.3 iPhone, but not on the ones with 4.2 and older. So it is definitely a bug.
I ended up just moving the picker frame to get this to work. check out my answer here: https://stackoverflow.com/a/9458688/791661

Zoom support while page curling effect present in pdf reader app

Hi
I am developing an ipad Magazine app where I need to display pdf files.I am using leaves project for page curl effect.This works great.
But in landscape page fits to height(768px) and it becomes difficult to read the font.
Thats why I want to support zoom in/out on this view.
I am a newbie to Core Graphics.I think in leaves project they parse pdf to show image of each page.But I dont know why zoom is not supported if it is an image.
There are some more branches of leaves project for implementing this feature but all of them are not perfect.
Shall I continue using leaves or UIViewAnimationTransitionCurlUp/Down will help me for both the problems?
Thanks
here is the code for your requirement. check out this
You can refer this tutorial. Provided by APPLE
Hope it helps.

image scrolling on touches in iphone

iam developing an app in which, images are to be scrolled on touchesmove i.e, swipping left /right.
I also have to display previous and next images beside present image in protrait mode.
I have seen the covertFlow sample, which is very close to my app, but i want it in horizontal mode. Please suggest me how can i acheive it , links related to it can also be helpful for me..
thanks in advance.
Well how about taking the open source CoverFlow implementation and modify it to work in portrait mode?
You can get sample code in this tapku Library
I solved my query and it is working without using any libraries.
I used the concept of lazyloading to download images, and i placed the images in scrollview which helps to scroll the images.
The following link used to load images asynchronously.
http://www.markj.net/iphone-asynchronous-table-image/