iphone

Deploying iPhone Applications on a testing device

Hi, I want to outsource my application testing. Is there a way to send only the binaries (from xcode) to another user, and if he gets the right certificate being able somehow to install the app to his device? ...

how to check application installed application in iphone deveice using iphone sdk

Hi... I am developing an application in which i need to find the apps which are already installed in iphone device such as Skype, facebook. I need to check it using objective -c . Please give me code snippet if possible otherwise a link to get the solution. Is it possible or not. Thanks in advance ...... ...

problem with intergating facebook & twitter for iPhone in my app

hello I am being using facebook & twitter in my application where user post comment on facebook & twitter . I have facing problem while using facebook i have used session so once user login he is not getting option for logout. he will continued posting comment . And for twitter : How will i create application in twitter for my applic...

[iPhone] How to make a Grid-like button group?

Hi all, I'm very new to iPhone development, so appreciate if I'm kind of dump. What I want to do, is to create a group of buttons. I know there is something like a button group, but only for buttons in a line. I want to create a button group, which will look like a UITableView, with several rows and at least 2 columns. I know I have see...

Using MKMapView with kml files

Just wondering whats the best way to approach this ? I've looked around for source code to gain an understanding of how this is done. But there is very little out there Any advice. Thanks. ...

how to delete all contct form iphone address book?

i need to delete all contact form iphone using coding . so i want best way and fast approach to delete contact. ...

Permissions of a team member in iPhone Developer Portal

Hi All, I want to know if there is a possibility to add a team member in iPhone Developer Portal that will have permissions (see / modify / update) ONLY to one application. The reason - there is a big company (that has many applications in the App Store) that uploaded one of my applications and I have hard time to send an update to the...

Dismissing Alert View of controller or app whose object refference is not available..!

How to dismiss the alert view (and execute its cancellation handler) when my application moves back to the foreground or my refference object is not available? If any one knows please reply. Thanks in advance..! ...

jpeg to png conversion

hi, I am working on images in iPhone. There are lots of jpeg images which range from 35kb to 50kb. I may need to transfer this over internet which comes around 6 mb. I tried to change a 35kb jpeg image to png. The actual size got increase jpeg was 56.1kb and png is 576 kb. I used mspaint to change the format. jpeg to png should actually...

CoreData: Fetching an Object from an unsaved Context

Hi, after I insert a ManagedObject into a context I'd like to fetch it later but before saving the context (I'd save after all objects are inserted). It appears that querying the context later with a fetch concerning those objects returns nothing if the context wasn't previously saved. Is there a way to save only in the end ?(I guess i ...

Flip view question

Hello I'm new with the Apple SDK and I've got a question about a flip view ... I have the following structure [main] -[tapbar] -- [View 1] --- [Scrollview] ---- [View 1.1] ---- [View 1.2] ---- [View 1.3] -- [View 2] -- [View 3] The subviews in [scrollview] have a button that will show a new view but flipped. I used the ...

Using BWOrderedManagedObject with NSFetchedResultsController

I would like to use BWOrderedManagedObject to store an array of ordered objects in Core Data, using NSFetchedResultsController for displaying the data. However, all of BWOrderedManagedObject's methods seem to simply return an array of ordered objects; NSFetchedResultsController requires an NSFetchRequest, and the only way to sort an NSF...

iPhone program in windows mobile

Hi I know this sounds quite not practical but still I would like to ask: How possible it is to compile a program, originally written in Objective-C for iPhone, to an application that runs on windows mobile? What I will be doing is to implement the app with C# again. But before that I want to know if there is such cross-compilers that ca...

How to change the preferred language of an iPhone app in iOS 4

Changing the language of an iPhone app has been discussed many times, but I'm stuck with this one: The provided solutions require the app to be restarted to make the changes take effect. But how do you achieve this on an iPhone 4? Pressing "home" sends the app to the background and clicking the app icon just brings it back. The user has ...

How to access files from free and paid versions of the same app?

I have an app (a game) which stores data (high scores, etc.) in the Documents directory (gotten by specifying NSDocumentDirectory to NSSearchPathForDirectoriesInDomains). Now I want to release a free version of my app. I want both apps to be able to access the same files (for example: a user of the free app gets some high scores, then ...

How to call a method of another Class?

EDIT2: I try to summarize my problem and the solutions: I've got a TableViewController named DetailedViewController. My intention was to activate TouchesBegan to recognize actions like sliding etc, and normally, the method touchesbegan is replaced with the DidSelectRow method. In many posts on stackoverflow, subclassing the UITableView ...

Using named value from enum in Objective C

I have an enum defined as follows: typedef enum modifiers { modifierNone=-1, modifierCmd, modifierShift, modifierOption } Modifier; What i would like to do is pass a string value from one method to another for exampl...

-[CALayer retain]: message sent to deallocated instance

Hi there! I'm developing an iphone app and when I turn on my NSZombieEnabled I have regularly a crash on error : *** -[CALayer retain]: message sent to deallocated instance 0xe6012e0 It always come when I push or pop a view in my view controller. Sometimes there's this error before : -[UIApplication endIgnoringInteractionEvents] cal...

saving and loading data when app is running.

I would like to have at least 2 arrays which I can create when the user first saves something, and from then on read from the array when the user wants to view that data, and update the data when the user is done updating it. Does a file need to be created before hand or how is this done on the device during runtime? Just storing 2 ar...

Saving array of object in core data

Hello, My iphone app retrieve data from a RestServer in the following format: { data => ( { date => "20100710T12:21:23+02:00", value => 0.1 }, { date => "20100710T12:30:23+02:00", value => 25 }, ... { date => "20100710T15:2...