iphone

iPhone: available disk space

Hi, I am creating an audio-recording application and I need to know how much disk space is available (not ram). How can I retrieve it? Thanks. ...

How to Recognize image in iphone sdk?

hi, i wanna ask that , is there any api to recognize image? i need read data from image...can i read numbers which is printed on image.. ...

Cocoa Touch - UITableView within a View

Greetings, Problem: I have a main view, that already is associated with a xib file, an appdelegate class, and a controller class. Now, opening its xib file in interface builder, I add a UITableView. Then, in its controller class, I create the IBoutlet code to use it, let's say: tableView. Questions: 1) Where do I go from here in...

declaring global variables in iPhone project

how can i declare a global NSArray and then use it across my app? ...

making PNG file for iPhone OpenGL ES

Hello, I am currently trying to learn about OpenGL ES for the iPhone and following Simon Maurice's excellent tutorial located here. The problem I am running into is that in an attempt to personalize the tutorial, I have switched the PNG file from the one included with the tutorial to a custom one. Whenever I do, not only does the bac...

Would you ever use this, or have you ever thought about something like it? (custom Nav Controller for iPhone)

Here's a little blogpost on the library: http://www.andrewljohnson.com/article/Customizing%20UINavigationControlBar%20-%20Controls%20and%20Images And here's a link directly to the GitHub repository: http://github.com/andrewljohnson/NavControlBar/tree/master I searched SO and the rest of the internets for how best to do this recently, a...

Anyone know why I can’t use kAudioFormatFlagIsFloat instead of kAudioFormatFlagIsSignedInteger for an AudioStreamBasicDescription?

Why does this work? - (void)setupAudioFormat:(AudioStreamBasicDescription*)format { format->mSampleRate = 44100; format->mFormatID = kAudioFormatLinearPCM; format->mFramesPerPacket = 1; format->mChannelsPerFrame = 1; format->mBytesPerFrame = 2; format->mBytesPerPacket = 2; format->mBitsPerChannel = 32; f...

iPhone Networking

If I have make an application, how would I make it interact with a database on a server of mine? I'm kind of lost, and don't know where to start. ...

UICell problem iPhone while Scrolling tableView

My Current Problem Related links are one of below. http://www.freeimagehosting.net/image.php?a65dae5f4a.png>http://www.freeimagehosting.net/uploads/th.a65dae5f4a.png alt="Free Image Hosting by FreeImageHosting.net"> [url=http://www.freeimagehosting.net/image.php?a65dae5f4a.png][img]http://www.freeimagehosting.net/uploads/th.a65dae5f4a....

Displaying html in a table view cell

I am working a rss reader app for iphone . What are my options for displaying entry summary in rss feed ( which could be html) in a tableviewcell without compromising scroll performance . I dont control the feed so html in summary section is out of my control . I am thinking of uiwebview would be my last option ( so rss feeds have im...

UITabBarController UINavigationController Design Advice

This is more of a philosophical question than anything, so give me your thoughts. The iPhone SDK documentation specifies that you may have a tab bar controller contain a navigation controller, but you can't have a navigation controller contain a tab bar controller. It seems that there are times when you might want to organize views with...

Header Search Paths in XCode - Is it possible to set a macro or variables so they're relative to the SDK version?

Update: It appears that a recent XCode update may have changed this macro, please see this Question & Answer for more information: http://stackoverflow.com/questions/2292694/obtaining-older-sdkroot-behavior-in-xcode Situation: I'm using libxml2 on an iPhone project and I've added it as relative to the SDK version. However, in order to...

Where's the difference between setObject:forKey: and setValue:forKey: in NSMutableDictionary?

When looking at the documentation, I hardly see any big difference. Both "value" and "object" are of type id, so can be any object. Key is once a string, and in the other case an id. One of them seems to retain the object, and the other don't. What else? Which one is for what case? ...

store images in iPhone application

I am simply creating a student management system in iPhone. There I need to store student's small images, Which should be appear in tableView, Ok, I know how to work with tableView... how to work with database... But question is Where to store images how can we obtain the path of stored images.. Do i have to store entire images to...

Preserve ` ` in NSString?

I want to preserve the entry of   in an iPhone application text field. However, logging and subsequent viewing of the UItextField suggest this string is getting turned into a plain old space... When I add &nbsp to the text field, it goes as single characters until the final semicolon, at which point it disappears from the log mess...

How to end an animation early in Cocoa Touch?

I have a UINavigationController onto which I push a 'loading screen' UIViewController whilst I asynchronously connect to a server. The push is implicitly animated with that sliding effect. If an error occurs whilst connecting, I pop the loading screen controller (again animated) and display an alert to the user. All is good if I pop ...

downSize image from iPhone while uploading

I have an application, in which User selects an images from iPhone, for photo field, Image is uploaded to the server, Image size may be of 1 kb, or 10 kb or it may be 1 mb or 10 mb. If image size is more than 5mb than image must be downsized upto 5mb before storing to the server.Question is How?is it Possible? i have used following...

setter and getter for NSString declared in AppDelegate

I have a NSString declared in my AppDelegate. I am trying to read/write that string from my View class but it's giving me error about getter/setter method not found. Here's how i am accessing it: MyAppDelegate *appDelegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate]; appDelegate.myString = @"test"; ...

image hiding in my xcode project

Hey guys, I finally finished my app which i'm excited about. One last thing that bugs me is that when i run my app, the first photo shown is not the image i want. I go to delete this image but it's nowhere to be found (not in resources or outside on desktop) Is there a special folder where it retains and copy images to the project for s...

presentModalViewController not executing?

I'm an experienced software developer (mostly C and C++ in embedded systems, Linux, and Qt for user interfaces). I've recently made the jump to iPhone development and I've run into a confusing issue with UIViewController and presentModalViewController. I'm trying to present a modal ABPeoplePickerNavigationController dialog but it's not...