Hey guys,
I'm an absolute noob at iPhone development but I know a little C. I need to know how to execute an executable program (compatible under OS X) for an iPhone application. I know that in C system() can be used to invoke a separate program. The program has been tested on the mac terminal and works without any flaws. In addition, t...
I am looking to stream what the camera sees onto a series of OpenGL ES textures. Getting them to display on the textures is not difficult, however, it isn't clear that the UIImagePickerController is able to grab images from the camera before the user takes a snapshot.
Tagged with 3gs because of the new video capture API.
...
I have a self signed SSL certificate serving out my test enviroment. I would like to do some testing connecting to the service from my iphone however, the SSL exception is causing an error.
Is there a way to ignore the SSL exception on the iPhone?
Edit:
I should have added a bit more detail, the answers below will work hoever if i ca...
I'm using a powerful library called TiMidity, which I'm sure many iPhone developers have used already used. This is a platform-independent set of programs, but during compile-time in XCode (gcc compiler), there are hundreds of dependency errors that come up.
If anyone here has used TiMidity before for their apps, your advice will be gol...
I trying to save app state on processing event applicationWillTerminate. But NSUserDefaults:setObject crashes in 30% cases if UIAlertView with UITextField present on screen. Call stack looks like
[NSUserDefaults setObject]
[NSNotificationCenter postNotificationName]
_CFXNotificationPostNotification
__CFXNotificationPost
_nsnote_callbac...
I would like to check to see if I have an Internet connection on the iPhone using the Cocoa Touch libraries.
I came up with a way to do this using an NSUrl. The way I did it seems a bit unreliable (because even Google could one day be down and relying on a 3rd party seems bad) and while I could check to see for a response from some othe...
So, I finished writing my first iPhone App, and I have sent it out to a group of beta testers.
Everybody is happy, except for this one guy who noticed that after having run my app, another app is not starting up anymore.
Not knowing too much about memory management, I started looking at the Leaks graphs in Instruments, and noticed, that...
I have made a quadratic equation solver for the iPhone and when the text box is clicked, my own custom keypad appears. I have a button that changes whether the number is positive or negative. Right now I what happens is that when the button is pressed (0 - current value of text) is what is displayed in the text box, so if the number is p...
Hi
Is it possible to connect to more than 1 devices using the new GameKit framework? Till now all the examples I've seen show how we can connect to 1 device. Even the default connection interface lets the user select just one connect.
Thanks.
...
I am looking for both UITabBarController and UINavigationController sample code.
Please teach when knowing.
...
I'm writing an iPhone app that is mainly centered around grid patterns, so I have a Pattern class which contains an NSMutableArray of NSMutableArrays. This class implements NSCoding, and it seems the following code works just fine in my iPhone app:
GridPattern * pattern = [GridPattern patternWithWidth:8 height:8];
[pattern setValueAtCo...
I have some sqlite querys that are slowding my iPhone App.
I have 2 pattern that I repeat in my app. The first is with substr:
SELECT Id FROM [Table] WHERE UPPER(substr(Name,1,1))='A' ORDER BY Name"
(This run for the mayority of the alphabet. Is for a contact list)
The other is a complex one with date:
SELECT Id,customerCode,
case...
Related to this SO question, I want to put the data loading in the background.
However, I get 'library routine called out of sequence' errors.
In this SO thread say that the way is using NSOperation, but looking on the samples on the web I not know how that could solve the issue.
I share a single sqlite connection with the singleton p...
Almost everywhere in the iPhone, you can type text and the OS will recognize portion of the text to be hyperlinks (phone numbers, email addresses for example). However I tested this in my own app with a UILabel and it doesn't work. How do I activate this?
Does the iphone sdk provide this functionality out of the box or do I have to do ...
Hi
I am trying to implement a P2P application. What I try to do is transfer a custom NSObject class's data between the devices. I am not able to figure out when the "receivedData" method is invoked by GKSession.
Here's what I've done
The usual connection and showing a dialog box with peers
When the app receives a state change for a p...
I have a tabbed bar main window with four tabs, one of which is a list. This list is empty at first but when I click a "+" I am presented with a modal view of available options like this
- (IBAction)addThing:(id)sender {
MJAvailableThingsViewController *controller = [self availableThingsViewController];
[self presentModalViewCon...
I'm interested in verifying if a given iPhone static library has been built for ARM or Intel.
Its more curiosity than anything. Is there some kind of Mac OS X or BSD specific tool to do this? This post gives an example in Linux.
...
I have a UIWebView-based iPhone application that reads in HTML from a SQLite database. The user can save new information, entered via a UITextView that accepts carriage returns. How do I display these carriage returns (line breaks) properly in the UIWebView? I have tried using something like this:
NSString *HTMLData = [mySQLiteDataObjec...
I have a start date/end date feature in my iPhone application. It is similar to that in the iPhone's native Calendar application, except there's no "All-day" option. That is, all the user can do is enter a start time/date and an end time/date.
The interface is a simple grouped UITableView with two cells. The user selects either the Sta...
I'm looking for a simple example of how to send a Tweet from an iphone app. I've seen some very complex methods, but it can't be that difficult. I have registered the app with twitter, so I have the key & secret. Just need to know where to put these so I can send a status update and have it say "sent from MyApp".
...