iphone

Get image from a video frame in iPhone

Is it possible using the iPhone SDK to grab a frame from a video in iPhone and save it or use it in any way in the application? Does the SDK give any control over the video other than play/stop or maybe access to the binary data of the video? Also is it possible to know the time at which the user stopped watching the video (i know in SD...

sms in iphone

I want to make use of sms in my iPhone application, i found that its an impossible to integrate whole module of sms in an iphone application, we can just switch over to iPhone's sms application by passing number. I had tried following bt still i am not able to open inbuilt sms application. NSString *no = @"9904143445"; NSString *sms = ...

IPhone Developer Program - How to sell under multiple company names

I work for a web agency and we have just been commissioned to produce an IPhone App for a client. We would want to sell the App on the AppStore under the clients company name, not our own. When signing up our company to the IPhone Developer program, I see it says apps in the AppStore will appear under our company name. Does this mean t...

Is it possible to connect a socket between two mobile devices (iPhones) over the internet?

Is it possible to connect a socket between two mobile devices (iPhones) over the internet? I am trying to discover the IP of each device and connect directly. I know it can be done with Bonjour but that only works on local networks. I need a high speed connection between two devices over the internet. Thanks. ...

Load a UINavigationController as a subview from UIViewController

I am a newbi in iPhone development.I want to build an app which will have a UIViewController first , which will have a button.Now on clicking the button, it shud load a UINavigation controller. Here is how i m approaching : i created a UIViewController class, where i took a -(IBAction) PressMeFunc:(id) sender for the button to b...

Is it right to say that methods whoose names contain new, alloc, create or copy do not autorelease the objects they create?

As far as I know, only the "convenience" methods return created objects with an -autorelease, so that the receiver is not responsible for the memory of that object. But because Apple says that when you use a method that has a name consisting of "new", "alloc", "create" or "copy", you're responsible for releasing the object that method re...

iPhone Game Developers - What does your toolchain look like?

For example: source control: git + adobe drive 3d: google sketchup -> *.dae -> blender -> *.obj 2d: photoshop/illustrator -> *.png audio: audacity -> *.caf code: ArgoUML, Xcode, Textmate test: OCUnit build: rake, Xcode Feel free to mention any other tools that you think are awesome :) Changed to Community Wiki ...

Reading a file from a hard drive in iPhone simulator

Is it possible to read a file (from my normal file system) into a iPhone App running on the iPhone Simulator? I understand that the iPhone itself has not got a (user accessible) file system but this is simply for testing and will only ever be run in the simulator. The file will be a text file that can be edited while the application is...

What's the difference between calling self.myInstanceVariable and directly myInstanceVariable?

It's a month ago I was reading a line about that. I am not sure, but I think that if I call self.myInstanceVariable then it uses automatically getters/setters, but if I would call directly myInstanceVariable = @"Foo" for example, then I would bypass any getter/setter which would be really, really, reeeaaallly bad. Right/wrong? EDIT: I t...

problem using tel: URL to initiate a call

Hi, I'm trying to initiate a call from within an iPhone app. This related code works and opens Safari as expected: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.apple.com"]]; But, when I replace the http URL with a tel URL the resulting code does not invoke the phone app: [[UIApplication sharedApplica...

UITableView Setting some cells as "unselectable"

How can I set the UITableView's cell property to be unselectable? I don't want to see that blue selection box when the user taps on the cell. ...

Why is my UITableView not occupying the bounds of the screen?

Hey all, I'm building a UITableView programmatically without NIB files here. I'm doing something silly however, as my navigationBar shows up fine, as does my UITableView. However, the UITableView is not properly fitting onto the screen. You'll see roughly 20 pixels separating the UINavigationBar and the UITableView. I set my window's ba...

Create custom activity indicator in iPhone SDK?

I haven't found any references to apps that use a custom activity indicator -- would be an animated GIF old-school -- in place of the Apple-supplied spinning wheels. Are there facilities to do this (or subclass UIActivityIndicatorView), do developers roll their own UIViews, or does this violate HIG? Thanks, IPD ...

USB and iPhone. In an iPhone app, USB is not connected to a computer?

I have this scenario where I have Windows Mobile smartphones that talk in low level to the USB port of a device that is not a computer. I now have to do this from an iPhone. Is that possible? ...

Problem popping to root nav controller on tab bar switch

Trying to mimic/copy the built-in address book, specifically the behavior when editing a contact or viewing an existing contact's Info from inside the Phone app. When you navigate to another tab, the editing state is reset and the "New Contact" or "Info" view is popped so that when you come back to the Contacts tab, you are back at the r...

Select row After UIPickerView is loaded

I have an iphone database app that loads a UIPickerView with data from a table. I want to set the selected row to a particular row from the data in another table. for example: Lets say I have a UIPickerView that is loaded with X number of names of the iPhone users friends (the number of names is variable, could be 1 or 1000 and all are...

UITableView - how to make search bar scroll with table

Hi, How can I make the search bar to scroll together with the table view? When I scroll my table view I want my search bar to go with it and disappear. I want to have done something similar to contacts app on the iPhone. ...

UITableView - change section header color

Hi, how can I change color of a section header in UITableView? Thanks. ...

iPhone app Submission under company name

My team and I have been contracted by a company to develop our first iPhone Application. I am wondering how this contractor relationship is best handled. Does the $99 SDK/Dev connection account need to be established under the contractor's name, so that when the application is approved it isn't listed by our company's name, but by thei...

Are there free iPhone navigation bar icon sets available?

I want to use up/down icons like the ones used by "mail" in the upper-right corner when you're viewing a specific message. Are these icons available for free anywhere? Beyond that, are there any sites with free navigation bar, toolbar, or tab bar icons? Thank you! ...