iphone

Windows mp3/mp4 streaming

I need stream audio/video data from Windows server to iPhone application. Do somebody know any solution for this? ...

how access web services through iphone application?

how access web services through iphone application? ...

Best iphone multiline input solution

Hi, I have tried Three20, HPGrowingText and the basic UITextView solution. For the three20, it has a dobule carriage bug and for HPGrowingText, I cannot modify the background of the textview. Therefore, which is the best phone multiline input solution? Thanks. Best, Dante ...

iPhone: NSFetchedResultsController with delegate and data update from a separate thread

Hi all! First of all, sorry for the too long question. I know that there are few questions here that discuss similar issues but none of these talks about NSFetchedResultsController with delegate together with update in separate thread. And none of the solutions has helped me. These are the existing questions: NSFetchedResultsControll...

UITableView, Separator color where to set?

I have added a UITableView in IB and set the delegate and datasource and all is working well. What I wanted to do next was change the separator color, but the only way I could find to do this was to add the method to one of the delegate callbacks, is there a better place I should put this? I don't have this at the moment but I was think...

Obj-C / iPhone: NSArray question

Hello, I have an array that looks like this when printed via NSLog: { response = "Valid"; updates = ( { string = "test"; integer = 3493; }, { string = "test2"; integer = 55454; } ); start-index = 0; My question is how I can loop through through the "upda...

How can I tell my app is about to become inactive/go to background state?

I am assuming I need to implement: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(resignActive:) name:UIApplicationWillResignActiveNotification object:nil]; ...

Adding Objects to persistent store from user input

Ok, lemme start out by saying Im new to this! LOL I have done my due diligence of studying the topics (4 books and numerous videos to date) and searching for hours on end, and still havent found an answer. I feel like I have a solid understanding of Core Data, or at least the back end DB side of it. I have my app built and I have m...

Side Scrolling a PDF in UIWebView

Is there a way to get a PDF that has been loaded into a UIWebView to scroll horizontally instead of vertically? ...

Returning iPod MediaItemCollection based on index

Hi, I'm currently working on an app that accesses a user's iPod library to generate data. The order is something like this: Do a generic MediaQuery that returns everything Iterate through MediaItemCollection and save title/artist info into an array Clear MediaItemCollection and retrieve required items later via title query However, t...

Official iPhone SDK for Mac needed to test/build RhoHub applications?

I've seen conflicting information on this. If I'm using RhoHub (Rhodes) to build an iPhone application, do I need to have a Mac in front of me or use their SDK with some kind of virtualized trickery? Or does Rhodes include a native Windows solution for testing/deployment? I'm currently in a Windows XP environment. ...

Taking a Screenshot of an iPhone app mixing UIKit and OpenGL

So, I know how to take a screenshot with UIKit: UIWindow *window = [[[UIApplication sharedApplication] delegate] window]; UIGraphicsBeginImageContext(window.bounds.size); [window.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteTo...

Frameworks are 'red' in Xcode

Hi everybody, I downloaded a project developed by Apple employees ( who taught course at Stanford on iPhone application development). Strangely , the frameworks are red. I tried to locate coreGraphics.framework and UIKit.framework to add them again but i couldnt find them either. Taimur ...

UITableViewCell strange width?

I have setup a UITableView (320 wide) with a UITableViewCell created in IB, the cell is also 320 wide. After setting a background image (320 wide) in UITableViewCell (or my subclass to be correct) I have noticed that the cells fall short of the right hand side of the UI (notice the blue on the selected cell and the grey on the one above)...

iphone app user interface on-rotation behavior

How in your opininon should and iPhone app interface behave when one rotates the device? Should it adapt: should some elements go from upper part of display (portrait) to the side (landscape)? Should it stay locked in app's native orientation? Is there any common practise ...

How to implement Reachability for iphone application

Hi all, I am developing an iphone application which uses internet.So in order to handle the network connection errors i would like to use reachability,but from apple site api reference it states that build and runtime requires iOS4 but i am developing application for iphone 2g which only supports upto iphone os 3.1.3.So any one could he...

property name of a textfield

In my iphone apps I have two textfields. I put a value in the name property of each textfield, but in the code I want to get the name of the textfield itself. I tried textfield.name but that does not work. How can I have the value of the property name? ...

Help w/ array of dictionaries in a tableview

This is kinda confusing so please bear with me. I have an array (listOfStates) of dictionaries. Where listOfStates has this structure: {stateName} - {stateCapital} {Alabama} - {Montgomery} {Alaska} - {Juneau} {Arizona} - {Phoenix} ... {West Virginia} - {Charleston} {Wisconsin} - {Madison} {Wyoming} - {Cheyenne} This is the code used ...

How to test low bandwidth conditions on the iPhone

I have an application that does a lot of binary data loading. I've encountered scenarios where an unstable 3G connection may intermittently cut out during the loading of some of this binary data, causing issues. Is there any way, using the simulator or otherwise, to test for low-bandwidth/unstable connection scenarios? I seem to recall...

What delegate method is called when an ASI-HTTP-Request times out?

I have an app that uses ASI-HTTP-Request for large files, and I had a tester recently note that they wer observing very long loading delays that should be manifesting as timeouts. I have delegate methods wired up for request failures, but these didn't seem to be happening. I poured through their documentation but didn't see anything spe...