I'm trying to implement auto zooming using iPhone camera. This is an additional functionality for barcode scanning. Barcode scanning is already implemented, but I've no idea about how to auto zoom to the barcode location. Any help? Thanks.
...
Hi are there any alternative development platform/languages/tools for the iPad/iPhone aside from the official SDK ro Adobe Air 2.5? Any insights will be greatly appreciated! Thanks guys!
...
Hi, I m adding UIView to cell which has a switch as a subview to it. Now I am not able to interact with the Switch. It does not change to value when I tap on it.
...
In some code snippet
- (void) drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx {
CGContextSetFillColorWithColor(ctx, [[UIColor darkTextColor] CGColor]);
UIGraphicsPushContext(ctx);
...
the current fill color is set, then the state is pushed to the stack.
Other snippet:
- (void) drawLayer:(CALayer *)layer inContext:(CGCon...
i m making a game in which animation is running perfectly on iphone simulator but when i run on the device it crawls.I m using NStimer to repeat the function in which animation is running.NSTimer repeats after 0.4 sec and animation duration is also 0.4.It is running perfectly on simulator but on device when animation duration completes t...
Hi,
I am using Open Flow Library of Alex Fajkowski, there is a missing functionality that when user tap on an image it flips, I want to do that, but I cant figure out how, if any body have any idea than pleas share it with me.
Thanks
...
Hello experts!
My question is as the title states. Is it possible or is that restricted to the settings app?
I have tried searching for an answer in the docs but no luck.
...
Hello,
I am trying to use polygon Tesselation with iGLU : http://code.google.com/p/iphone-glu/
But can't find out how does it work (with OpenGLES) ?
So I have a 2D (x and y) polygon declare as follow :
// *2 because x and y
GLfloat poly[nbOfPoint*2] = {1.0, 0.0,
0.0, 1.0, etc..}
So how can I triangulate ...
Please dont mark this as duplicate
I am getting this error while debugging my app on device I tried everything from these posts (see below) but no luck -
http://stackoverflow.com/questions/2037328/iphone-sdk-error-from-debugger-the-program-being-debugged-is-not-being-run
http://stackoverflow.com/questions/1727169/xcode-fails-to-run-a...
Hi
I have taken two picker view in a view
and set height 160 for both through coding
160 is the minimum height for it I think
and also set the flexible width (height is not flexible in IB) for both
Now it show ok in Iphone simulator when it is vertically
but not shown ok when it is horizontally due to height is not flexible.
Is an...
I am working on application for iphone that needs Compression & Encryption(AES) so I went for ZipArchive Library I have Successfully Built the library using command make against the MAKEFILE by adding -m32 to Cflags as the following:
CFLAGS = -m32 -D _ZIP_SYSTEM_LINUX
then in the Terminal
make
that produced libzip.a
and that w...
Hello,
Can anyone give me the source code for "How to change the text color when the item is selected in selected indicator and also how to perform the shake effect for iphone sdk"
...
hi..
I am new to iPhone developemnt.
NSString myUrl = @"www.google.com";
I need to know how to create a hyperlink for the above NSString variable.
In the MFMailComposeViewController I need to use like below
[mailViewController setMessageBody:myUrl isHTML:YES];
Please help me out.
Thanks for any help.
...
I'm using the Default.png method to create a splashscreen. I'm using the same file for my background and the Default.png (except default.png has the 20 pixel status bar at the top).
However, the iphone isn't displaying them in them the same. The Default.png is being displayed darker than the background, so it's painfully obvious when th...
Hello everyone.
My question is quiet simple (I think). I have a class that implements a simple chronometer (using some integers and NSTimer). I would like to close my app (so enter in background mode) but I would like my chronometer still continue to count. How can I manage that ?
Thanks a lot !
...
I've not got the device price format setting.
NSNumber *temp = [NSNumber numberWithDouble:dblPrice];
NSDecimalNumber *someAmount = [NSDecimalNumber decimalNumberWithDecimal:[temp decimalValue]];
NSNumberFormatter *currencyFormatter = [[[NSNumberFormatter alloc] init] autorelease];
[currencyFormatter setNumberStyle:NSNumberFormatterCurr...
Hi friends
Why my webview detects events along with phone number?
my code is
webview.dataDetectorTypes= UIDataDetectorTypePhoneNumber. Is it can disable the events alone.
Regards,
sathish
...
I know, I know, it's a venial aesthetic question, but I want to insert an info button in my navigation bar not as the default info UIButton (UIButtonTypeInfoLight), but inside a rounded rect so that it appears in a uniform manner to the other UIBarButtonItem buttons.
Is it possible that there is no way?
Using custom UIButton with an imag...
Hello,
When I add a new view after detecting user's long press, I get touchesCancelled event.
However, I want to preserve the long press event to newly added view.
What I want to implement is user touch & hold the screen, then new view added, and user can move touch around in the newly added view without touch up and touch down again.
...
For some reason, I cannot get a UIWebView to "play nice" with my new Retina images. The issue, step-by-step:
I am loading a series of HTML help files out of the bundle. My code loads different HTML files if it's an iPhone 4 (LWERetinaUtils below is a util class I have written). I have read in this question that it is not possible for...