iphone

Can the Cancel button be removed from a UIImagePickerController in OS 3.2?

The problem: Can this button be killed in a popover? I can remove the button in the ABPeoplePicker*Controller that appears when picking Contacts by editing the private VC's navigation item on the fly, but this one eludes me (no UINavigationControllerDelegate methods are called by the UIIPC). ...

Put an Image in template then Save.

In my Ipad appI would like to let the user edit an image from the photo app with a preset template and then save it in the photo app again. kinda like in this iphone app http://itunes.apple.com/ie/app/motivational/id333176136?mt=8. Thanks, Elvin ...

Could InAppSettingsKit do this, or is there another library?

I'm trying to implement a system whereby the user is initially presented with a single tablecell, in a uitableview (grouped style), within a uinavigationview. --------------- + | add record | --------------- When they click on the cell, they are pushed onto a new screen where they fill in a few textviews (perhaps imbedded in a ta...

UIWebview isn't displaying content I want it to display

In my app I have a UIWebView which loads different rtf files. I use this function to load these files: - (void)loadFile:(NSString*)file { NSString* resourcePath = [[NSBundle mainBundle] resourcePath]; NSString* sourceFilePath = [resourcePath stringByAppendingPathComponent:file]; NSURL* url = [NSURL fileURLWithPath:sourceFilePath isDirec...

Best solution for styled text within a uitableviewcell?

Fo styled text (bold, italic, diff fonts and sizes), what's the best solution for putting a chunk of text within a cell? The text can of various lengths, so the cell would have to change it's height accordingly. ...

Programming Environment that runs directly on the iPhone or iPad?

Is there a development environment that runs directly on an the iPhone OS? I will be without access to a computer/internet for some time, but will have the use of an iPad (WiFi, jailbroken). Do you know of any way to dabble with programming directly on the device. Since apple is commit to not let it happen, I assume I will have to fin...

How to get objects after CoreData Context merged

Hi, I tried to save data and merge with CoreData and multi-thread for iPhone app. But I can't get managed objects in the main thread after merging. I wrote code just like this: [managedObjectContext performSelectorOnMainThread:@selector(mergeChangesFromContextDidSaveNotification:) withObject:noti...

UIImagePickerController with my images

Hi all! I'm developing an app and I wish use the UIImagePickerController but I wish let the user to choose some images saved into my app, not the photolibrary.. it's possible to do this?? thanks in advance!! ...

how does presentPopoverFromRect work?

I don't understand how to define the (CGRect)rect in order to control the position of popover, and the position of the arrow. For example, I have a 1004 x 768 view, how can I put the popover at lower right of the screen, and point the arrow at 700 (x) 1000 (y)? Thakns! ...

Deleting a line from a txt file in objective-c

Is there a way to remove a line from the end of a .txt file from Objective-C? I can't seem to find anything on manipulating text files from Objective-C, only reading them into a NSString. ...

i have latitude and Longitude how can i display Annotation in the mapview?

i have got the Latitude and Longitude from XML Parsing how can i show MapAnnotation(pin) on the Map,Please help me.... ...

How to export data to an excel file w/chart on iPhone?

Hi, I have some data in a sqlite database in my app, and my client wants an option that allows you to email it as an excel file which includes a chart of the data. Is this possible on an iPhone? Have a good one, Toby ...

Cocos2D installation?

Hello, I am trying to install cocos2D but when I put it into terminal, I get the error: Error: This script must be run as root in order to copy templates to /Library/Application Support/Developer/Shared/Xcode What am I doing wrong here? Thanks in advance, Tate EDIT 1: I installed cocos2D and the project template show up but all of th...

Problem while adding new Object to CoreData App

Hi Another Day, another CoreData problem,...but hopefully the last one now. Ok here is a copy of what I have : I have a List of Hotel Guests that stay in one Room and have Preferences. Once ready the user should select a guest and see the data and should also be able to add new guest, select the room (maintained also by application) a...

Dealloc on my custom objective-C

Hello. I'm developing an iPhone application, and I very new on iPhone development. I've created some custom classes with instance variables (NSArray, NSString, etc.). All classes inherits from NSObject. Should I create a dealloc method to release all instance variables? Thank you. ...

Gallery for IPhone UI controls

Is there any web-resource (gallery perhaps) showing all user interface elements made from UIView(or other?), so it will give me some quick idea what controls exist, what do they look like? ...

When a popover row is selected, how is - (void)setDetailItem:(id)newDetailItem called??

I've created a TabBar application and in one of the views I'm using a popover. The view is registered for UIPopoverControllerDelegate but that doesn't do it. The popover is a completely different view controller and xib. When the user selects a row in the popover, control goes to the popovercontroller.m method - (void)tableView:(UITab...

Any suggestion IF I need to write an iPhone/iPad app to show HTML5 content ?

Hi All, Is there any reference about writing an application on iPad/iPhone to show HTML5 content ? Any reference book Sample source codes Which components should I use ? Million Thanks. ...

How to group methods belong to one entity in one class file in Core Data like in Entity Framework?

How to group methods belong to one entity in one class file in Core Data like Entity Framework? In Linq, we can put all methods in the domain object class and reuse them, in Core Data, is there any way to create different classes for different entities? Or we can only use predicate to retrieve? It seems that I can't define the class f...

iPhone SDK: Why is my view not lining up?

When I run my app, for some reason the view is pushed up too far. The space it is pushed up too far appears to be the height of the status bar. ( I am using a NIB. I have verified that both MainWindow and this view has the simulated status bar checked. I'm not sure what could be wrong? Any help appreciated. ...