iphone

WiFi iPhone Application

Hi im working on an iPhone application which requires communication between 2 devices through WiFi. Can somebody please help me by providing a simple iphone application code for the same which is able to communicate data between the devices...i hv gone through the "witap application" available on the developers site but wasnt able to un...

How can i use more them one sound simultainiously in iphone application using cocos2d ?

Duplicate: use more then one sound in my iphone application using cocos2d Hi, All of the member of this forums.I need to help yours for doing my game project.I want to play some sound in my gaming project.When this game is started a background sound is playing continuously until the game is stop (exit). When game is played that tim...

Changing leftBarButtonItem with flip transition ?

Hello all, In my code I programmatically change leftBarButtonItem with a UIButton to a UIActivityIndicatorView, I would like to know how to perform a flip transition when changing, any idea ? Thanks a lot. ...

Google Maps api access possibilities for iphone? (processing javascript without UIWebView)

I want to access some data from Google maps. the only way possible is using JS for that. I'm not trying to access it through a webview. usercase: I have point 1 (lat,lng) and point 2 (lat,lng). I want to use Google maps api to determine what the driving distance is between those 2. So in other words I want to use the Google maps ap...

Scrollable div on iPhone without using 2 fingers?

Hi there; I've got a UIWebView embedded in my iPhone app, and I'd like to keep a locked header and footer DIV on the page at all times, with a scrollable center DIV. I know that I could do this using a header/footer that are UIView controls, but I want the header and footer to be HTML divs, as a pure HTML/JS/CSS solution will be easie...

UICachedDeviceWhiteColor and NSAutoRelease for table cell mem leaks

I have a memory leak that displays UICachedDeviceWhiteColor. I'm not using UICachedDeviceWhiteColor anywhere and a search on it turns up people saying this is a bug in the iPhone-SDK. I found this blog entry: http://piezoelectrics.blogspot.com/2009/02/uicacheddevicewhitecolor-leak-in-iphone.html but I can't find #import "NSAutorelea...

can't draw fast enough to keep up with touchesMoved?

Hello, I am trying to implement simple paint functionality in my iPhone app. I tried updating a bitmap with a bitmap brush, and I also tried this tutorial. Both methods have the same problem, even though the code is almost totally different. It happens only on the device - the simulator works fine. When I touch the screen and mo...

iPhone Views at Runtime?

Hello, I am new to the iPhone SDK and am trying to create 3 views and switch between them. Data will come from a server and I will basically be showing 1 view and caching the other two. So far I am just trying to create a view and display it at run-time. My code is listed below. It shows only a blank screen and I think I am missing a key...

iPhone: Extending the Utility Template

Extending the Utility Template I'm working with the Xcode Utility template (Mainside/Flipside) and I need to add a new screen. I've added: docView.xib (copy of FlipsideView.xib) docView.m docView.h docViewController.m docViewController.h In rootViewController.h I added: UINavigationBar *docNavigationBar; docViewController *do...

Architecting a multiview application on the iPhone

I have an app with a root view controller, a primary view controller, and a secondary view controller. I would like to be able to send a message to the primary view controller from the secondary view controller. How can I get a reference to the primary so that I can send messages to it? Is there a better way to architect this? ...

iPhone - access location information from a photo.

Is it possible, in an iPhone app, to extract location information (geocode, I suppose it's called) from a photo taken with the iPhone camera? If there is no API call to do it, is there any known way to parse the bytes of data to extract the information? Something I can roll on my own? ...

Cocoa/iPhone: How to I keep ibtool from outputing non-localizable strings in a xib file?

I'm working on internationalizing an iPhone application, and I'm using ibtool to extract the string from my xib files so they can be translated by a localization house like so: ibtool --generate-strings-file BlahBlahView.strings English.lproj/BlahBlahView.xib The problem with this is that the .strings file I end up with contains all t...

(iPhone) How to handle touches on a UITextView?

I'm trying to handle touches on a iPhone's UITextView. I successfully managed to handle taps and other touch events by creating a subclass of UIImageViews for example and implementing the touchesBegan method...however that doesn't work with the UITextView apparently :( The UITextView has user interaction and multi touch enabled, just to...

Tutorial on NOT using Interface Builder for iPhone GUI design?

Does anyone know of a good tutorial on iPhone GUI design using just code and not Interface Builder? I am new to iPhone development, and I wanted to better understand what is going on behind the scenes. ...

How can I implement an autoselection textbox like the one for e-mail addresses on the iPhone?

On the iPhone's mail app, you can type in multiple mail addresses...and then to delete one you just tap it, and click Del. How can I implement something similar in my app? I tried to handle the tap on a UITextView, but it looks like the touchesBegan and related delegate methods are not fired for this class and its subclasses :( Any idea...

iPhone SDK - wifi list

Hi, this may be a newbie question...but I am in the world of MAC/iPhone development, I'm looking if there is anyway of retrieving a list of Wifi networks in the area. For example, if the Wifi on the iPhone is on i want to get that list of Networks available. I've searched through the Apple documentation but I can't seem to filter out w...

How do I detect if my appengine app is being accessed by an iphone/ipod touch?

I need to render the page differently if it's acessed by an iphone/ipod touch. I suppose the information is in the request object, but what would be the syntax? ...

Where is the UIWindow instantiated in an iPhone app?

When you create an application from the "View-Based" template in the iPhoneSDK the following code is generated. I basically understand what is happening here, but I do not see where window and viewController are instantiated. Any Help? @class jojojViewController; @interface jojojAppDelegate : NSObject <UIApplicationDelegate> { UIWi...

How to use scroll view on iPhone?

I want to display a text with a lot of lines. I added a multiline-label to a scroll view, but it didn't show anything. Looks like this is not the correct way to use the scroll view. How to use scroll view so that users can drag down to see more text? ...

Wi-Fi Application

HI I am developing game in that I want to Play that game through Wi-Fi. So more that one player can also play the game. I want to develop this game for iphone. I gone through WiTap application which is on developer.apple.com since it's very hard to use. So if anybody knows how to send a simple data such as integer or string etc. th...