iphone

What is the best way to implement handwritten character recognition on iPhone?

Hi, What is the best way to implement handwritten character recognition in iPhone? I'm thinking as follows: First, taking a picture of handwritten character. Second, recognizing image of handwritten character, and then outputs a text. ...

how to get table of content from the pdf for iphone?

I have implemented ipad application in which i want parse table of content but i dont know how to parse and i dont know which tag is using for table of content.Please give me some advise for this issue. Thanks in advance ...

iphone cannot rotate views in TabBar controller

Hello, I am working on an application that consists of a TabBar controller. Within on of its tab, I have a subclass of UITableViewController, within this list I have a Core-plot graph in the first cell and some other data in the 4 following cells. When I return YES in the shouldAutorotateToInterfaceOrientation method, I would expect the...

Memory warning navigation controller

Hi I'm new in iphone developing. The question is : I have a RootViewController with 2 uibutton. When i execute "memory monitor instrument on my iphone device OS3" RealMemory goes from 3.75M to 4.58M (I launch a uiview1controller by click on one UIbutton, then i close it and return to the RootViewController). When i close then uiview...

How to attach a facebook photo to a published story with iPhone sdk.

When I try to reference an image hosted in the facebook photo albums as an image when trying to publish to a stream I get the following error. FBCDN image is not allowed in stream: . I have tried referencing the image through the src url, the link url and the graph api url. I get this error all three ways. Does anyone have a work a...

iphone how to determine and code according to base sdk version?

I have a code for UIImage picker photoImagePicker=[[UIImagePickerController alloc]init]; photoImagePicker.delegate=self; photoImagePicker.sourceType=UIImagePickerControllerSourceTypeCamera; photoImagePicker.mediaTypes=[UIImagePickerController availableMediaTypesForSourceType:photoImagePicker.sourceType]; [self presentModalViewControll...

MKMapView Pins Refreshing Color on Click

Hello, I have several custom MKPinAnnotationView on my map with different images(colored pins). Everything works fine until I either click on a pin or change the map to a different view(satellite/road)... when I do either of these, my pins will revert back to the classic red color. Any help would be greatly appreciated. ...

Redirecting input to another view

My application is working fine on the normal iPad display, but I also need to output to VGA out. When I do this, I need to add the view to the external screen's window which seems to mean that I can't use it to accept input from the iPad screen. I want to redirect input from the iPad's window to the window displaying on the external scr...

Accesing sub entity reletionship/property in NSFetchedResultsController

Hi! I'm trying to acces a property from a managedobject relationship in one of my entity but i keep getting a "nil" object from it. Here's a summary of the entities and there relation. Entity: House Relationships: adress (1 to 1) Entity: Adresse Properties: street (NSString) Relationships: house (1 to 1) So basically a "House" can o...

iPhone aurioTouch example: Remove DC

I am looking at the iPhone aurioTouch example specifically on the following code: static OSStatus PerformThru( void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UIn...

How to convert a string into an NSDate?

Let's say I have something like 30-10-2025 12:53, how could I convert that to an NSDate? I guess there's some class that takes this plus an format string that tells it how the date looks as a string, so it can parse it... where must I look? ...

UTF8 from web content .xml file to NSString

Hello, I can't find a way to convert some UTF8 encoding into NSString. I get some data from a URL, it's a .xml file and here is their content: <?xml version="1.0" encoding="UTF-8"?> <person> <name>Jim Fern&#225;ndez</name> <phone>555-1234</phone> </person> How can I convert the & #225; into a á ? some code that doesn't work: NSSt...

Create top ten list

I'm trying to build an iPhone app where I have a list of names, and can search by year to find the top ten names for that year. How would I need to set that up in xcode? ...

CLLocationManagerDelegate method not calling in iPodTouch

HI all, I was using a sample code which uses CLLocationManager class to determine the current location of user. when i run this app on iPad i am getting the correct location but when i run the same app on iPod Touch i am getting a blank label i.e nothing is displayed on the label .although wi-fi signal strength is good in both iPod and ...

Can libpcap be compiled for iPhone/armv6?

Hey, Trying to compile a basic program which uses pcap.h. I've set up the environment on my Mac OSX box which uses the iPhone 3.1.3 SDK for an iPhone 3GS. I've also installed libpcap to ~/libpcap so I can tell gcc where to look for the headers using the -I flag. However, it fails with an ld warning saying the file is not of the required...

Presenting a Modal View in a TabBarController with a pop over view

All the examples i've seen for presenting a modal look very simple and i've been able to create one in a sample project quite easily. So there must be something basic i'm missing. I've created an ipad app that has a tabbarcontroller with 3 items. There is also a pop over menu that functions just fine on the 1st item. On this same item i...

Apply CoreAnimation on image (not on screen)

Hi, I was wondering if it's possible to use Core Animation to work on images and not on the display. For instance I want to apply a CATransform3D (on the iPhone) and output the result of the image manipulation in another image and not on the screen. Thanks! ...

Obj-C: Calling 'release' too many times?

I was looking at someone else's code and noticed they called 'release' on an NSString they didn't own (never called alloc/retain/copy anywhere and it wasn't a property). This looked a bit strange to me and it made me wonder if any strange behaviour can occur if you call 'release' on an object that you either don't 'own' or whose ref cou...

How to access properties/methods in other classes

I have a RootViewController that has some UITabBarController properties: @interface RootViewController : UIViewController<LoginViewDelegate, UITabBarControllerDelegate> { UIBarButtonItem* loginButton; NSUserDefaults* prefs; UITabBarController* arTabBarController; UITabBarController* stvTabBarController; UITabB...

appcelerator tableview autosliding

Using Appcelerator: I have a form, a tableView with textFeilds I want it so when I focus on them, it slides the window or the view to the top, under the navigation bar. Right now, the keyboard is blocking the last few rows. Do I need a listener on each form to slide? If so how do you do that? ...