I have a simple iPhone OpenGL ES app, in which I render a full-screen background image using a texture, and then draw 3D polyhedra on top of it using lines. The texture is displayed using glDrawTexfOES.
The problem is that I don't seem able to display the polyhedra on top of the background. In the glDrawTexfOES call, if I use a z value ...
I'm just about ready to submit my iPhone app to iTunes Connect, but they require a company website. I don't have a website, and I can't afford a domain registration and hosting. Is there a way to submit an application without a website URL?
...
I'm using a full-screen background texture. It's stored in a 512x512 PNG file. When rendering it to the screen using glDrawTexfOES, for some reason I need to add a 32 point y-offset in order to make it align with the screen. Why?
glBindTexture(GL_TEXTURE_2D, backgroundTexture);
int backgroundRectangle[] = { 0, 480, 320, -480 }; // Handl...
Hi I have 2 UIScrollViews, 1 which scrolls vertically. Inside is a UIScrollView which scrolls horizontally with a long image.
Befor placing the horizontal scroller inside the original UIScrollView I could press the time at the top and it would scroll to the top, where now it doesnt.
I tried using this code
[mainScrollView setScrollsTo...
Hi !!
M very new to this field of iphone development.I need to make one app in which customer will be Purchasing ticket for movie by selecting the Location,Movie,Timing of show and seat.
Can anyone help me out in implementing Ticket Purchasing Part.
Thanks
...
I have a Level class, witch contains another Class LevelPoints for some attributes, how can I archive the instance of Level by using
[projectDictionary setObject:level forKey:@"testlevel"];
[NSKeyedArchiver archiveRootObject:projectDictionary toFile:@"somewhere"];
I can not get the _levelPoints variable with values out of the [NSKeye...
I have the ISOCountryCode avaliable and now i want to derive the currencyCode of this country from the ISOCountryCode. How can i achieve that?
NSString *countryCode = < get from someother view>;
NSString *currencyCode = ?;
I receive this country code from some other view on runtime?
...
I'm working with MKMapView and have plotted several points on the map. I have used the MKCoordinateRegion and MKCoordinateSpan to enable zooming etc around one of the points - but that's not what I want...
I'm trying to use something similar to the Javascript zoom to bounds function. so all my points should be visible to the user. (Ther...
I am building a hybrid iPhone application (Objective-C and html/javascript/css/jQuery through UIWebview) and there is part of the application that need to be able to run in offline mode (just simple browsing data, not updating) and is implemented in html/css. We stored html, css and javascript locally but use JSON service to retrieve dat...
I'm currently using this code
NSHost *host = [NSHost hostWithAddress:hostname];
if (host == nil) {
host = [NSHost hostWithName:hostname];
if (host == nil) {
[self setMessage:@"Invalid IP address or hostname:"];
return;
}
}
to retrive my IP Address for a networking app I'm working on, however I'm aware t...
My coding contains a memory leak, and somehow I can't find the leak.
Leaks points me in the direction of the way I create "ReportDetailItems"
e.g. areaContainer = [[[ReportDetailItem alloc] init] autorelease];
I've been looking at this for hours and I am at a total loss, the objects reported leaking are "ReportDetailItem", and the NSM...
I am searching for a glow effect in quartz 2d for the iphone. I tried making lines with different alpha values to simulate glow but it didn't work...
Can anyone help me with that ??
p.s.
I'm making an app where the user can draw with glow. I have the basic lines, but no glow :(
...
Hi there,
I'm turning around and around with the following code giving me a memroy leak in the pics object apparently linke to the object imageName.
for (int i = 0;i<[potatoesIndexesArray count];i++){
int imageNumber = [[potatoesIndexesArray objectAtIndex:i]intValue];
NSString *imageName = [[NSString alloc] initWithFormat:@"...
hi friends,
I am new to iphone calendar programming. I using Kal calendar app in my application. Is it possible to change the dot color of date selection in kal app based on my value.
Thanks in advance for your suggestion.
Regards,
sathish
...
Before iOS4, my app's initial view controller would check a passcode on/off settings variable in viewWillAppear and if set on, present a modal passcode screen that would stay there until the correct passcode was entered or the Home button was pressed.
With iOS4, if my app has been in the background, I would like the user to feel comfort...
Hi,
I'm compiling using iOS4. When I launch my application that uses UIImagePickerController and iAds the iPod music halts and doesn't continue in the background? Any settings I have to add to my app?
Thanks
...
In C++ community, "Effective C++" is very famous for its concise, in-depth and practical style. For Objective-C, most of the books in the market is primer introduction to the language. Is there a book for Objective-C like "Effective C++" for C++?
BTW, I found this document is very valuable for a programmer from C++ to Objective-C: http:...
Hi all,
I'm working on an iPhone app that (among other things) has a detail view for records with lots of attributes and lots of related records. Rather than having one really long scroll view or table view, I am thinking it might be easiest to break the detail view into several separate views (some UIViews, some UITableViews, etc) tha...
Hi,
I was just wondering if anyone knows of any articles relating to upgrading an iPhone application from 3.0 to iOS4. (Thanks for this iWasRobbed).
While the application still runs on iOS4, it will not run on the iPhone 4, but does on my iPhone 3G.
When I deploy the app on the iPhone 4, the Default screen loads and it will sit there ...
this is on the main code:
NSString * title = NSLocalizedString(@"myTitle", @"");
NSString * cancelTitle = NSLocalizedString(@"dismiss", @"");
NSString * otherTitle = NSLocalizedString(@"noMoreTips", @"");
NSString * message = NSLocalizedString(@"myMessage", @"");
[self ShowAlertBox: title : message : cancelTitle : otherTitle];
This i...