iphone

Can we call one iphone app from another iphone app?

Say, that i am clicking on one iphone app icon,when launched it will create one .app file.So is it possible to call one more iphone app from that app.Or can we do something in that .app file such that it will call another app. ...

Determine if a subview is visible in a UIScrollView

Hi all, I've added a view to my app, that contains a UIScrollView, with a number of UITextViews in it's content view. This works perfectly on OS 3.0 and up, but when I test it on my 2.2.1 iPod touch, there is a UITextView bug that stops any text views automatically updating their content when they are scrolled into view - so you have to...

How do I add an extra separator to the top of a UITableView?

Hi, I have a view for the iPhone that is basically split in two, with an informational display in the top half, and a UITableView for selecting actions in the bottom half. The problem is that there is no border or separator above the first cell in the UITableView, so the first item in the list looks funny. How can I add an extra separa...

Decide which caching startegy to use ?

Hi all, I want to cache my loaded data so that I can reduce my application start time . I know several strategies to store application data i.e. core data, nsuserdefaults , archiving . Now my scenario is that suppose that I have array of maximum 10 objects each object having 5 fields . So I can not decide which strategy to store th...

how to learn "Animations in COCOS2D"

hi all friends, I am new to cocos2d animations and I want to learn it , as always I stops at the point of animation while making iPhone games in cocos2d. Can any one suggest me the way to learn such animations, so that games animation creating will become easy to make. Thanks. ...

how to implement facebook in my application for iPhone

hello I have complete code for implemention for facebook in my application But the problem arises as follow : Firstly whenever i import FBConnect\FBConnect.h the error will show that it doesn't "NO such file or direectory" secondly due to this error i have 182 error in my application.. Thanks ...

How to prepare a mail interface like mail in iphone.

Hi all, I want to prepare the mail interface for show mail and compose same as mail in iphone in my application. Please suggest me any idea for how I prepare the layout for show mail and compose mail. Thanks Deepika ...

How To Chnage DNS Address Of iPhone Through Program

Hi All, I like to change DNS address of iPhone through my application. Is it possible ? Any one let me know how i can do it, it will be very helpful. Thanks in advance. ...

Writing a function for UIAlertView?

I'm sick of writing basic UIAlertView's, ie: UIAlertView *alert = [[UIAlertView alloc] initWith...]] //etc Instead of doing this, is it possible to put all this in a "helper" function, where I can return the buttonIndex, or whatever an alert usually returns? For a simple helper function I guess you could feed parameters for the title...

transparent bottom bar on photo album

Hi Guys I try to make an iphone photo album How I can display transparent bottom bar? like that: http://c.upanh.com/upload/7/964/CS0.12177761_1_1.jpg - Processing the next, back button? THank you! ...

iPhone app identifier?

What is the unique identifier for an iPhone app? In the info.plist file, there are keys: Bundle display name Executable file Bundle identifier Bundle name If I have already submitted an app on the AppStore before. Then I change some of the keys in the project. Which of the above can be changed freely and AppStore still considers...

Lazy load images for UITableViewCells from NSDocumentDirectory?

Hey. I have a tableView in my app that I load in images to from the NSDocumentDirectory. It works, but when scrolling up and down, the app seems to freeze a bit. I know that this is because of the images getting loaded in, and not getting cached, but I don't know how I can load them in later, after they've been created. The images are ...

compiling iphone program in snow leopard wtih libsqlite3 library

Hi, I develop an iphone application which uses sqlite3 as a database. That time my OS X version was leopard. So add added libsqlite3.0.dylib to frameworks and compile without any problems it complied and with any problems I could run it on the device as well. This week I installed Snow Leopard on my Mac. Removing old Leopard version a...

IBOutlet on properties and exposition of the class

Apple, for memory management issues, recommend defining outlets on properties, not in the attribute declaration. But, as far as I know, declaring properties exposes the class to external classes, so this could be dangerous. On UIViewController we have the main view definition and the logic, so MVC is slightly cheated in this cases. Wha...

What's the difference between -objectRegisteredForID: and -existingObjectWithID:objectIDerror: ?

What's the difference between getting an managed object with - (NSManagedObject *)objectRegisteredForID:(NSManagedObjectID *)objectID and - (NSManagedObject *)existingObjectWithID:(NSManagedObjectID *)objectIDerror:(NSError **)error Are there different types of NSManagedObjectID? Is there a difference between a "registered ID" and...

Serialize mkcoordinateregion to store in core data?

Hi all, What is the best way to store an MKCoordinateRegion using core data? I assume there is a way to convert this to binary data somehow?? Many thanks Jules ...

Map resources when added to the project bundle

I have a .h when I map all the image files names and xib names with #defines. For example, if I have an image called "buttonBackground.png" I map it in my .h as #define BUTTON_BACKGROUND_PNG_FILE @"buttonBackground.png" It's possible to detect when a resource is added to the bundle and create the correspond define with a script? E...

problem while xmlParsing

Hello everybody. I am calling a webservice which returns xml data. Now when i receive the xml data, it is all distorted. all the escape characters like "<", ">" and " ' " are converted to html format ie and &quot So now, the parser is not able to recognize the tags. Plz help me, what shud i do? this is my response from webservice ...

How to present hierarchical data in iPhone application?

What is the best way to display hierarchical data in iPhone application? Do you know some TreeView controls for iPhone? ...

trying to search the index in the pdf file in iphone

in my ipad application i am trying to search the index in the pdf file which is loaded. so i use the following code to do that.. CGPDFDictionaryRef pdfDocDictionary = CGPDFDocumentGetCatalog(pdf); CGPDFDocumentApplyFunction(pdfDocDictionary, ListDictionaryObjects, NULL); static void ListDictionaryObjects (const char *key, CGPDFObjectRef...