I am executing the following, which I have derived from a few different tutorials (Just a single render pass, initialisation code not shown but works fine for untextured primitives):
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrthof(0, xSize, 0, ySize, -1.0f, 1.0f);
glMatrixMode(GL_MODELVIEW);
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
g...
Hi,
is the iPhone's filesystem or the use of NSFilemanager restricted to any characters or is everything allowed (this is what I'm currently assuming after doing some research).
...
I was experimenting with the magnetometer (iPhone 3GS) and the Teslameter sample program. One question pops up, and that is if it is possible through some API to query the values of the magnetometer without going through the event-driven API.
More specifically, the sample rate from the magnetometer seems to be limited to ~20-30 samples/...
Hello.
I have two question:
I'm developing an iPhone application and I want to know when it is the first time the application is executed. I want to check some extended permissions from facebook the first time.
How can I know that? (first question)
Another way to solved this problem is to store the extended permissions granted in s...
I need to format text in a label like this:
username: some text from this user. This will
create additional lines of text that will go
on and on and on.
Where "username" is bold. This will go into a UILabel, which is in a custom table cell. Is there a way to get this type of layout?
...
In -drawRect: I want to check if the provided rect intersects with anotherRect.
I'm not good at this geometry math stuff and especially at english so what I want to say is:
If you have two sheets of paper on the desk, and one of them covers the other either completely or just a small portion, it is rectsIntersect = YES.
How to check t...
In the past I had already implemented successfully automatic migration from version 1 of my data model to version 2. Now, using SDK 3.1.3, migrating from version 2 to version 3 fails with the following error:
Unresolved error Error Domain=NSCocoaErrorDomain Code=134110 UserInfo=0x5363360 "Operation could not be completed. (Cocoa error 1...
I want to make a UISplitViewController in portrait mode just like in the Settings app. How can I do it?
...
I read: http://stackoverflow.com/questions/2363777/iphone-how-to-pass-data-between-several-viewcontrollers-in-a-tabbar-app and was wondering what is the difference between
[[UIApplication sharedApplicaton] delegate]
and
extern struct* global
?
Conceptually, I don't see how [[UIApplication sharedApplicaton] delegate] not being a ...
Hello everyone
I hope to test my app on iPod Touch
I created development provisioning profile.
I dragged downloaded .mobileprovision file to Organizer
There is a yellow triangle warned that
"A valid signing identity matching this profile could not be found in your keychain"
The others distribution provisioning profiles have no any p...
Okay, hope you can help med here :)
I have been searching everywhere to figure this out, but haven't had any luck.
I know about Annotations and how to overlay them on a map on the iPhone.
But what if I have location like in the forest where there arent any roads or anything.
What I am asking is, how can I overlay a custom image (map) ...
Hello all,
Is it possible to use fullcalendar on iphone native app reading events from servlet on a remote server? Features required are Month, Week and Day view. No need of adding, editing or deleting events. Clicking on event display the summary of the event. I would be very happy if fullcalendar is capable of the same, if no what are...
I'm using the Facebook Connect for iPhone SDK at http://github.com/facebook/facebook-iphone-sdk/ and am trying to get the provided demo "Connect" app to work using a Session Proxy.
The iPhone shows the connect dialogue and gives my server a valid auth token which I pass to facebook. Facebook responds with a valid session key and session...
when keyboard is getting displayed, keyboard hides the tab bar. How to change the position for keyboard? I want to do similar to skype app calling screen.
I want to display simple keyboard on my tab bar from bottom i have found lots of links and explanation on adding toolbar & tab bar on top of keyboard please help to solve this ASAP i ...
Sorry if this question is obvious for some of you.
I know we can link to the existing Goggle Maps app, but I would like to have an app that does not exit and provides the direction within. I intend using GTFS for public transit.
On the other hand, would it be possible to plot a line inside the iPhone app the results as returned by Goo...
Hi:
I'm sure this question is fairly simple to answer... is there any way to make variables and helpers available application-wide on the iPhone, without using the Application delegate?
Thanks!
------------ edit ------------
Thanks for your help. your comments helped! This is how I implemented my solution...
UIColor+Helpers.h:
#impo...
Hi everyone,
When I pushed a controller, is there a way to get the controller which pushed it (without sending it)? Or the first one?
Thanks
...
Hi:
I've been reading around about streaming on the iphone via m3u8 but I'm not sure if I'm missing something.
It is well documented that MPMoviePlayerController will only play full-screen in OS 3.1, so iPhone users are stuck watching the video (listening to audio, in my case) and can't navigate in the application. I haven't found a way...
Below is the code I'm using to do a retry on an FBConnect session. When the [self loginToFaceBook] fires FBConnect adds a subview to 'window' which is still the UIAlert view, so when the UIAlert really dismisses it takes the FBConnect view with it. Any idea as to the best way to wait for the UIAlert view to be gone.
-(void)alertView:(...
Hey.
I am trying to find an item in a NSMutableArray from it's value, only to find its indexPath.
I have absolutely no idea of how to do this, as I am very new to programming in general.
Thanks!
...