iphone

Lowest level of unprocessed (raw) camera data accessible on the iphone?

If someone wanted access to unprocessed camera sensor data on the iPhone, is there a way to use the API to get at it? I'm particularly interested in the data before it's white balanced, as well as brightness metics. eg, An interesting app would be a rough color temperature meter for photographers using gelled strobes. ...

Cross Switching TextField and TextView creating issues

When I am tapping on a textfield, keyboad is popping up and I am getting UIKeyboardWillShowNotification for this textfield from the system. Now if I directly tap on the textview I get UIKeyboardWillHideNotification for TextField but I am not getting UIKeyboardWillShowNotification for my textview. The reverse is also true. Individually th...

What tools do you use to support XCode?

As a newbie XCode developer I would like to know what tools you use to support the XCode development experience (e.g. for iPhone development). For example, DOxygen for code documentation generation. I'm also keen to know what you do to make all these different tools work in a cohesive fashion. ...

ipad page swipe

Is there a standard way to register either left or right swipes of the page and respond accordingly? ...

Is IKVM on Monotouch a supported/tested deployment of the VM?

It seems that running the IKVM on monotouch is one possible method for deploying Java applications on the iPhone. Is this combination one that has been tested and is being successfully used in the field? ...

building stretchable Image in interface builder

Hello Everyone, I am trying to build a stretchable image in interface builder. Is this even possible? I have searched the web and cannot come up with a proper solution. I'd appreciate any answers. ...

How do I avoid a VerifyError when testing code using mobile-specific classes in AIR/AS3?

I'm an experienced AS3 developer doing AIR development for the first time in order to create an iPhone app. I'm trying to account for variable device orientations using the StageOrientationEvent and related classes, and I'm getting a VerifyError when trying to test on a desktop machine, presumably because orientation-related classes are...

How to call a variable in a object Objective-C

Hi, i have 2 class: main.m second.m. If i have in main.m - (void)ok { NSString *myString = @"OK!"; return myString; } How to call myString or "-(void) ok" function from second.m? Thanks. ...

Programmatically Generate PDF from HTML on iPhone

I am looking for a way to programmatically (in obj-c) generate a PDF file from a local html file. I am dynamically generating the html from user inputs, I need to create the PDF and send it to the user (via email). I am having difficulty with the PDF generation portion. I have the code to create a PDF using CGPDFContextCreateWithURL b...

iPhone - SubClassing UIToolbar the right way ???

I created a new Class named CustomToolbar Then i created an empty nib, added a toolbar to it, and set the toolbar class to "CustomToolbar". What is the proper way of initializing CustomToolbar In code so that my class uses the nib file? I already have written the code to do that but i know it's not the correct way and it has a leak. ...

Send message from appdelegate to view controller

Hello, I have a view (nib) loading offscreen in a uiscrollview. I want the movie in this view to only start playing once it is visible but the viewdidappear fires even the view is off screen. So the movie is playing even though you can't see it. Is there a way to understand what view is actually visible that does not involve the uiscro...

Animating incoming UITableView when a UIButton is pushed

The first view that appears in my app is a standard view with two UIButtons on it. When you select a button, a UITableView appears. I have set 'Anitmated' to 'YES', but when I tap the button, the UITableView does not slide onto the screen (it just appears). When I hit the "Back" button on the UITableView, it does animate as it slides off...

Click on UIAlertView crashes app if view is dismissed

A UIAlertView is displayed if an error occurs. But in the meantime the view on which the UIAlertView were called has been dismissed (and therefore released). If the user clicks on OK the app crashes because a message to a released instance is sent. This will cause your app crashing: UIAlertView *alertView = [[UIAlertView alloc] initWith...

How to change UIAlertView cancel button text

Hi There, I would like to know that how to change UIAlert's cancel button text during runtime. ...

How to do in Objective C for iPhone what ZoneTag does?

See this description? "The ZoneTag client runs as a background process, monitoring the cell tower to which the phone is currently connected (which provides a rough location) and possibly communicating via BlueTooth to a GPS device, providing much more exact location information (and also providing a mapping between cell tower and physic...

How to compress, encrypt, and then read/search large XML file stored on iphone disk?

I have a large 'book' that I need to compress, encrypt and also make searchable on the iphone. The app has some requirements that won't allow a simple PDF or EPUB. I have the book in plain text on my computer, and I am parsing/converting it to XML. I want to compress the file to reduce app purchase download time, and encrypt the app j...

retrieve video format using AssetLibrary and display on uilabel

Hi, I would like to know how to retrieve video format using AssetLibrary and display on uilabel? i read on forum to use ALAssetPropertyRepresentations but im just lost. some help please? ...

Show annotation in custom views

First off - I'm not using MapKit. I'm using my own controls for something entirely different. But the annotation view is something I'd like to mimmic. I've seen other applications with similar views to indicate state or actions on other controls. However, scanning through the class library I can't find a view already in the SDK. Do I hav...

Core text exactly same as UITextView text format?

Hi, I'm trying to set up a CTFrame that exactly matches my UITextView's text format in iPad. First of all, I converted UITextView's text to an attributed string. Then I set up a width and a height of drawing box in which Core Text will draw text. I succeeded to draw text using Core Text, but UITextView and Core Text show slightly differe...

Adding UIView subview to single table view controller in navigation stack

I'm working on an app that has three table view controllers in a navigation stack. The root view controller and the second VC have toolbars, but I want to add a subview to the second view controller like this. (The color is just there for visualization.) I want to add the view programmatically, since I haven't been able to do it with I...