Hi everyone.
I have two UIActionSheets and I am thinking that I will control them with one delegate (the UIViewController that instantiates them). The delegate will capture an actionSheet call and try to figure out which of the two threw the event.
I tried to get the modalView's title to differentiate, but it seems to be invalid...
S...
I'm looking for way to grab the content of my opengl (as UIImage) and then save it into a file. I'm now giving glReadPixels a try though I'm ont sure I'm doing the right thing as of what kind of malloc I should be doing. I gather that on OSX it's GL_BGRA but on the iPhone that doesn't work...
...
My application is pretty simple: it starts up with a view controller that holds a table view (in grouped view layout) with a few options. When the user taps on one of the options, I push another view controller onto my navigation controller.
This second view controller simply displays a UIImageView, and the user can change the screen or...
Given the iPhone's 25k limit for caching of files, I'm wondering if there's interest in an iPhone optimized javascript library that makes caching a top level goal. Since it'd be iPhone only it could get rid of most cross-browser cruft and rely on safari specific capabilities, hopefully cutting down some of the girth and staying with 25k....
I want to load some images into my application from the file system. There's 2 easy ways to do this:
[UIImage imageNamed:fullFileName]
or:
NSString *fileLocation = [[NSBundle mainBundle] pathForResource:fileName ofType:extension];
NSData *imageData = [NSData dataWithContentsOfFile:fileLocation];
[UIImage imageWithData:imageData];
...
I have a Tab bar bases project (along with navigation control), inside a particular tab there is a tableViewLoaded , when i click on the table rows it shoud open another view , ie it pushes another controller , i have a view controller in the MainWindow.nib for this view also with some items like buttons labels , but whn i click it doesn...
I want to create an iphone application that is able to post the data to a website database which is using MySQL. Can anyone give some hints?
...
Can the iPhone use other databases besides SQLite, like MySQL?
...
is it possible to Post or Get the input data to a site by using objective C in iphone application,for example in HTML create a form it collect the input data from user and post to the server site
...
As anyone with an iPhone knows, some applications launch quickly, while others take several seconds.
What are the best techniques for ensuring an iPhone app launches and becomes usable in a snappy manner?
...
I want to develop a mobile web application using asp.net 3.5 that can be viewed on an iPhone but there is no longer a template in VS2008 to enable mobile development. Can this be done ?
...
Is there any setting using which the iPhone keyboard won't appear for a particular textbox in web page? May be some css kind of setting?
...
I have some string s that is locale specific (eg, 0.01 or 0,01). I want to convert this string to a NSDecimalNumber. From the examples I've seen thus far on the interwebs, this is accomplished by using an NSNumberFormatter a la:
NSString *s = @"0.07";
NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init];
[formatter setForm...
What is the best way to load static data files containing game level maps on the iPhone? I have seen some use XML files, but that seems like overkill in my situation as the data files merely determine the layout of the game's level, ie where obstructions will go. Also, what project directory should they be stored in?
Thanks in advance...
Hi
PHP5.2.x back end. The text data transfer is using JSON objects.
Am looking at how best to transfer around 10, 30kB PNG images from the server to the iPhone client.
Have looked at Base64 encoding the images on the server and using JSON to transport. However this does come with a 30% overhead in increased filesize.
Perhaps a sim...
The iPhone SDK docs claim fopen() is a supported method of file access but I am unable to get it to return a FILE handle. I am accessing a directory which is included in my project. I have tried fopen "filename","dir/filename","./filename","./dir/filename","/dir/filename" all returning with a null pointer. Some people report using it ...
I am trying to debug an intermittent error on the iPhone, a crash with a trace that looks like:
objc_message_send
__invoking__
[NSInvocation invoke]
HandleDelegateSource
MainRunLoop
....
When GDB stops, I'd like to be able to determine details about what selector the system is attempting to be invoked - I've set a break point now arou...
I would like to do a transformation (rotation) to a UIImageView, I could just set the transform property of the view, but would setting the layer's transform make it faster? If so.. how can I achieve this?
assuming I have a UIImageView initialized with an image, can anyone help? would it be better have a UIVIew with a UIImageView in it?...
I've got an app on the iTunes store, and Apple provides daily (and weekly) sales reports. I'd like to download these in an automated fashion (say, via script attached to a cron job), but I'm not sure how to get around all their https-forms, Web-objects controls, session-IDs, etc.
Does anyone have a plug & play solution for this?
Thank...
Is there a way using the iPhone SDK to get the same results as an HTTP POST or GET methods?
...