iphone

video streaming from iphone to server

anyone know of a way to stream live video FROM the iPhone TO a server? the other way around is easy and I've already figured out how to do that. ...

Help with an iPad iBookstore-like Interface

I am building an iPad application that needs to list books in a manner similar to the way Apple does it in their iBookstore application and how Marvel does it in their iPad application. I'm not talking about the main featured rotating images but rather the book listing below that. My question is looking at the book list, how are they b...

Getting all multiple UIswitches set as tablecell accessory view to change background color once they are all set to off.

Hello, I am very new to Iphone development and i'm stuck. I have a table view with multiple Uiswitches set as accessory views for each cell using [(UISwitch *)cell.accessoryView setOn:NO]; [(UISwitch *)cell.accessoryView addTarget:self action:@selector(mySelector) forControlEvents:UIControlEventValueChanged]; I would like the...

upload database file on iphone using PHP - considerations?

I have seen plenty of posts on uploading files from iphone to a server but are there any considerations that need to be factored into code with this functionality. Currently my app uploads a DB file using PHP OK but will this always be the case?, i.e. from different locations in the world, and what kind of precautions do I need to take ...

Using RGraph for iPhone data plot

I am using CorePlot for plotting data graph on iPhone. Recently I encountered RGraph based on html5 technology. CorePlot is a little over complicated for my purpose. Does anybody have the experience for using RGraph on iPhone? ...

iPhone Application Delegate variable is not being retained

I am having a very odd issue retrieving/retaining a variable in my iPhone application delegate (AppDelegate). Initially, I can step through and see that my values are passed to logfile (the NSString variable in question), but when logfile is retrieved from another class (see the code below), it faults. Here is my AppDelegate.h file: ...

placing a call programmatically on iPhone and return to the same app after hangup

I would lie to place a call in my app (I can use the tel:) but I would like to return to my app where I left after the users hangs up. Is that possible? ...

Multiple default.png files in an app

Some native iPhone applications (like Clock) display different default images while loading depending on where the user was when the app shut down last. I wonder if that's something only Apple apps can do, or if mortals can do that, too. ...

Previewing on iPhone 4

Besides the obvious answer of "buy an iphone 4" (I'm in Australia so that's not possible at the moment) - is there an easy way of checking how your app looks on the new iPhone 4. I have a background image in my app which I want to check how it scales. Any suggestions? ...

UIView setBounds UIScrollView hell!!

I have a bunch of 'rowviews' that I want to put in a vertical scroll view. I have created this rowView view as a separate nib in IB. They are sized at 1024/200 (ipad). Now I want to put them one by one in my parent UIScrollView. I tried a simple [vScroll addSubview:rowView] but this puts them overtop of eachother (I made the rowview tran...

UIButton resize with animation

I'm creating a menu and I want the buttons to "pop" I guess on the screen. Basically I want to start at 0px dimensions and then go up to the full size of the buttons. I can animate the alpha and the position if I want to but can't do the dimensions and I think its because its an image on the button. If I do a UIButtonTypeRoundRect you c...

How do I add a background tint to the outside of the UISearchDisplayController table view?

In my view controller, when I instantiate my UISearchDisplayController object, I set its various properties, including the background color of the searchResultsTableView property: self.searchDisplayController = [[[UISearchDisplayController alloc] initWithSearchBar:searchBar contentsController:self] autorelease]; searchDisplayController....

No eligible bundle identifiers submission error

I just went to submit my first app involving iAds, and in the beginning of the app submissions process there is a new button to "Enable iAds". I click and get the following error: "You have no eligible bundle identifiers. Please register one here." So i went to my provisioning portal, expecting to see a configure iAds option similar to...

How to post NSNotificationCenter if orienation is landscape?

Hello, I would my view controller to post a notification used NSNotificationCenter if the orientation is landscape. I'm currently doing this: - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; if (interfaceOrientation == UIInterfaceOrientationLandscapeLeft || interfaceOrien...

How to release an instance variable which will be returned to the caller?

-(NSMutableArray *)processResult:(NSArray*)matchArray removeString:(NSString *)removeStr{ NSString *newLink; NSMutableArray *result = [[NSMutableArray alloc] initWithCapacity:[matchArray count]]; //doing sth to result return result; } In this scenario, as the result variable will be returned to the call...

iPhone - CALayer animating the Bounds

Hi guys, Is it possible to animate the bounds of the CALayer on iPhone? How to implement that? Thanks! ...

Iphone JPEG datastream contains no image using NSURLConnection

hello - I was previously downloading images for my app by using dataWithContentsOfURL to download a jpg then writeToFile to save it. I recent;y started using an NSURLConnetion to do the same, but now I am getting the follwoing errors and a crash: Corrupt JPEG data: 87 extraneous bytes JPEG datastream contains no image I know these ...

iphone sdk syntax

Hi All, This is probably a really basic syntax question, but I can't find the answer. Can anyone tell me what this expression means? objPoint.x = -objPoint.x; As a note, objPoint is a CGPoint Thanks! ...

iPhone object not to be scrollable

I have UITableView that scroll as per expected. I want the table to take up 80% of the space and I want another object at the top. No biggie there. My problem is that I don't want the object at the top to scroll when the table does. Any help/examples of how this can be done would be greatly appreciated. This is seen quite a bit with...

UIView (subview) does not send IBActions to AppDelegate.

I'm having this problem because I originially made everything in the main NIB, but then after reading learned that it is better to use subviews. I've got my IBActions in the AppDelegate, and I've successfully connected and loaded my subviews. However, when I try to connect my buttons in the subviews to the IBActions in the AppDelegate,...