iphone

How to corectly implement - (NSIndexPath *)indexPathForSelectedRow when tryng to retrieve which table cell is selected

I have a delegate for my table view, and would like to be able to trigger an action when the user selects a cell in the tableview. How is the method - (NSIndexPath *)indexPathForSelectedRow correctly implemented? Thanks in advance. ...

Frameworks were disconnected reference from Xcode.

Hi there. I need help about iPhone development. I upgraded xcode and iphone sdk from 3.2.2 + 3 to 3.2.3 + 4. and I opened my project file wrote in 3.2.2. then Frameworks are lost (displayed red color) and Wrote "Base SDK Missing" on Xcode. where are these frameworks? I should do any settings? ...

Push notification guide?

Hi guys , i need a rundown on how to fully utilise the push notification system. Iv read the push notification guide on the apple website but still unclear of some things. Lets say i have a windows PC and an iPad. 1) what should the PC be configured with to become a "provider"? Should it be configured to be like a server, giving out da...

iPhone 4 app doesn't terminate

I my testing, when I exit (by pressing the home button) my app, it still is "running" in the background, thanks to the multitasking feature. However, I would like it to quit when the home button is pressed. Is this only happening to me? Anyways, I have tracked it down to the applicationWillResignActive and the applicationDidBecomeActi...

Use of ivar in block returned to other object

I have found a crash in an iPhone application with target iOS 4 that changes depending on the type of build. The debugger is giving me nothing much to go on, it stops at UIViewController *result = [self factory](self); with EXC_BAD_ACCESS. self is a class inheriting from NSObject (shown below as NSObjectInheritor). Zombies are ena...

iPHONE SDK - am i able to http a .MDF file and query it?

Hi guys, im stuck in developing my app where i need to query a .MDF database file from a http request. i Have a PC and a iPad, so im just using wifi to http request the file and querying it. Am i able to do this? ...

what does core mean in iphone libraries?

There's Core Data, Core Audio, Core Animation, etc... does core just mean that it's the basic library of that whole general category? ...

Is there a way to dim the LED light on the iPhone 4?

Is there a method or property that allows you to set the brightness of the LED light on the iPhone 4? ...

How to Get iPhone Video or Photo's Geotag? Using UIImagePicker

I am building an app that allows user to pick videos/photos from camera or photo library. If picked from photo library, is it possible to access to the video or photo's geotag? Thanks! ...

MK MapView on iPhone App

The app I am developing uses a tab bar with a Map View. The problem is the tab bar blocks out the Google Maps logo at the bottom left hand corner. How do I set the height and width of the Map View to ensure that the Google logo is visible? I've tried adjusting the Map View on IB but the size doesn't seem to change as the logo is still bl...

How can you turn on the led light on the iphone 4?

I just want to be able to turn on the led light. Is there a simple way to do this, or am I going to need to, say, set up the phone to take a video, simulate it videoing with the light on, but not save the video? Something like that? Thanks. ...

what object type does self.parent in obj-c return?

just curious to know if it would return (id) or (parent class) or something else. ...

Navigation bar resetting its frame

I have a TabBar which has been created programmatically. In the view controllers of this tab bar I am trying to reduce the size of navigation bar using - "self.navigationController.navigationBar.frame = CGRectMake(0, 20, 320, 30);" For the first time the view controller loads the navigation bar is displayed with the dimensions specified...

Storing text file in ipod

Hi all, can anyone please let me know as where the csv file and pdf file is stored in iphone or ipod. Actually my application generates a pdf and csv file but somehow i m not able to know where it is stored in ipod. Please help!!! ...

UiactionSheet with Uipickerview

Why Scroll is not smooth when used uiactionsheet with Uipickerview ...

voice recognition in iPhone

Hello, Is the voice recogniiton a part of iPhone Audio? I want to build a sample code on voice recognition for iPhone. How to get started? please give me some idea. any documents in iPhone app developers which says about voice recognition programming? Thank you, ...

How to store an NSArray in an NSDictionary?

I'm trying to teach myself but am struggling with how to store something like an NSArray inside an NSDictionary. Let's say hypothetically you had a NSDictionary for recipes: Let's say the NSDictionary had keys like: Spaghetti, Fettucine Alfredo, Grilled Chicken Salad And the NSDictionary had an NSArray which was simply a list of ingr...

Efficient use of NSNumberFormatter related to NSString Categories

Hi All, I'm writing an NSString category that requires an NSNumberFormatter. I'm stuck between initing and releasing one every time my category is used to print a string in a certain way or initing the formatter in my app and passing it through. The NSNumberFormatter has a couple of config calls run on it first to make it work just ri...

Error from Debugger : The program being debugged is not being run

when i build for AD HOC, xCode say this error. i dont know why... help me please. ...

problem with Image in custom Cell

Hi.. Getting image data from sqlite database but not able to display in custom cell of imageview.is there any conversion of image data into image. ...