We have a web app that is being developed. It will be used on an ipod touch that is built into a tabletop. As it is basically horizontal, the ipod keeps changing its mind about which way up it is and keeps switching the orientation of the browser.
Is there a way to ask it to stop doing that? If not, is there an alternative browser that ...
Excuse my iPhone/Objective-C newbie status please!
I've found my HTTP server using NSNetServiceBrowser, but now I just want the IP address and port of the service found.
I've got something like the following in my delegate method:
NSNetService* server = [serverBrowser.servers objectAtIndex:0];
NSString *name = nil;
NSData...
Has anyone got the YAJL Json parsing framework to work with iPhone? And if you have can you post simple instructions on how to link to it.
I want to use it with the MGTwitterEngine framework.
Currently I am getting these errors..
"yajl_get_error" referenced from
.. and a few tohers very similar.
YAJL
http://lloyd.github.com/yajl/
M...
Hi
I am using Audio Queue services in my application which plays audio streamed over network.
sometimes I get an error when I make a call to AudioQueueEnqueueBuffer and the function returns OSStatus code -50. Audio Queue services reference does not specify's this error code.
I am using IPhone OS 2.0 and iphone SDK 3.0
Can anyone tell m...
Programming an iPhone App, I need to use Google Maps api to get directions and routes. Unfortunatelly, Google Maps works around javascript.
Any idea how to do this?
...
Does anyone know how to do this?
I want to have different behavior if my iPhone is from the USA to the behaviour of UK models (namely, listing prices in $ rather than £), and don't want to force the user to use their current location, as this requires the user to have a network connection or GPS active.
UIDevice doesn't seem to have an...
How would I get an integer value out of an NSMutableArray?
...
I intend to write some piece of code for an iPod and an iPhone. so, i'm looking for emulators for those devices.
basically an emulator which will help me test the application I'm writing.
Thanks.
...
Hey Guys,
I recently discovered that you can set breakpoints in Xcode that will print to the console and auto-continue -- meaning you can insert log statements without having to write NSLog() calls and recompile (on-the-fly logging, woot).
Only problem is that it seems to be a little limited in what you can display when doing a log.
It...
I'm writing an iPhone app that needs to interact with the Google Maps API, therefore I must user Javascript (please correct me if I'm wrong) to access the results and the route created.
Since the Javascript support in native iPhones apps is quite poor and slow, my idea was to ask a remote web server to do the job for me. That server wou...
I'm having a problem setting a View Controller nib's default View Outlet in Interface Builder. Here's my setup:
I have a TabBar based application where I load a Navigation Controller as a modal view...
MyNavCtrlrSubClass *menu = [[MyNavCtrlrSubClass alloc]initWithNibName:@"MenuController" bundle:nil];
[tabBarController presentModalView...
Hi,
I want to render a splash screen on the iPhone whilst using an Open GL view. The iPhone screen as we know is 320x480, which is not a power of 2.
Before I enter into the world of chopping the texture up and rendering sub parts, or embedding the screen on another texture page I was wondering if there was another way?
Is it possible ...
Hello,
How can I scroll the whole view up and down on appearance/disappearance of keyboard on iPhone?
Thanks.
...
Hi,
I want to create a UIAlertView that will say that "...in progress". It will also show that UIActivityindicatorView on it. Could you let me know how can I do that?
Thanks.
...
I have a photo displayed on an iPhone. I would like to lower brightness of the photo at first, and when the user touches the photo, I would like to raise the brightness of the rectangular region near where the user touched, like this:
www.cottagearts.net/tut_images/tut_cropping_pse_06.jpg
Could anyone point me to a simple way of doing ...
Hi,
I want to upload a new beta version of my iPhone application for beta testers group. Users save their data in the Documents folder. What do i need to do in order for users to upgrade their application without loosing their data?
Thanks in advance,
Nava
...
I've got a standard UITableViewCell where I'm using the text and image properties to display a favicon.ico and a label. For the most part, this works really well since UIImage supports the ICO format. However, some sites (like Amazon.com say) have favicon.icos that make use of the ICO format's ability to store multiple sizes in the same ...
Hi, I had my app perfectly working on iPhone OS 2.2.1 but now I am trying to make it work on iPhone OS 3.0.
And my application crushes, apparently because of having a UINavigationController in UITabBarController.
I get the following error:
'NSInternalInconsistencyException', reason:
'Changing the delegate of a tab bar managed by a tab...
Regarding the SMS compose view as show in the picture below:
I have two questions:
1) How is the text entry box implemented? There are no standard control from the API and the box is smart enough to resize when you press enter OR when the text is too long. Also the bar resizes with it. How is this done with the least coding?
2) How t...
The problem is that my app saves hundreds of megabytes into the users document directory on their iPhone. During testing, the iPhone simulator takes a long time to launch the app on each build as it is copying all of this data to a new documents directory each time I rebuild. Is there any solution to this that will just leave the directo...