Is it now neccessary to create code for OS4?
After the release of OS4, is app store is accepting applications for OS3? or OS3 applications are rejecting? ...
After the release of OS4, is app store is accepting applications for OS3? or OS3 applications are rejecting? ...
Hello ! In my iPhone app I'm actually detecting text/html content type before showing data in an UIWebView or UITextView. I detect this with a ContentType variable starting with "text/html", full variable looks like "text/html; charset=utf-8". So for the moment I use this : if (myContentType hasPrefix:@"text/html") This is fine, bu...
I have a UIScrollView with a custom content view that uses drawRect to display its contents. In my drawRect method I respect the passed CGRect parameter and only draw what's needed. However, each time the drawRect is called it is passed the entire bounds of the view, even if it is several thousand pixels, and I'm worried about performa...
Hi, I am loading an External web page in the UIWebView. When the web page loads, there is an Alert Box ( with OK and Cancel buttons) with some Suggestion/ Info about the web page. I want to block this Alert Box when the web page loads in the UIWebView component in my iphone app. How can I implement in my code? Thanks in advance. Kind ...
i insert 2 UIImageView with tag 1 and 100 to UIView, how to access to UIView and check how many subview on it or select tag 1 to be the top of view ? ...
Heh guys, is it possible to record a small voice audio on the iPhone and upload it to a server?! Any good sources on this topic? (Audio Recording). Thanks, Henrik ...
I have a mapView and tableView, with each annotation in the mapView corresponding with a cell in the table. What I want to do is select the appropriate cell anytime an annotation is selected on the map. As of right now, im creating an NSDictionary when the cells are created, which maps the row number to the annotationID. This works, ...
Hi all, I am aware of the many questions regarding this topic, as I myself have asked one previously however, my issue now seems to be more related to the threading part. I have the following 2 methods. -(void) restartTimer { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc]init]; self.timer = [NSTimer scheduledTimerWithTimeInterval...
hi, im trying to increase a date and get a formatted output for every month ... it works fine, but the step Dec 2010 to Jan 2011 doesn't work. please have a look at this: NSCalendar *gregorian = [[[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar] autorelease]; NSDate *lastDate = [[NSDate alloc] init]; for (int i = 0;...
How to plot negative values on graph in core plot. I am able to draw lines with positive decimal values but in case of negative values my graph shows nothing neither on axis nor on graph. Please suggest any examples or any sample code would work. TIA ...
Hi all, How can I get the device-id of the iPhone on which my application's got installed immediately after installation? Is PUSH_NOTIFICATION the answer? Thanx in advance. ...
Lets consider the following scenario: I have a class , where I have a member variable named "sampleArray". I have only one Autorelease pool as part of my App.(main.m). I add some objects to "sampleArray" using a convenience constructor in a method named "Method1". Based on autorelease concept(NSAutoreleasePool), the object would be no...
Hi, i have a rather odd problem with the Xcode debugger. In my iPhone application project I'm able to debug some of the files but not all, some of them simply won't allow me to view variable values. I first thought of a configuration problem of my project itself, but when I copy my project say from /A/projectdir to /B/projectdir or ren...
My application is entering into applicationDidEnterBackground method when i tapped on home button but the functions that i wrote in that method are not getting executed or called, can any one help me regarding this, I am trying this to make a application that is to run in back ground...? ...
Sorry guys, I'm a noob. I know that some languages support type casting, but when I tried to do that here it failed, miserably. I've got an UITextField with number only pad, so I'm only getting numbers, and I need the output from that in my int, diff. Here's what I tried: NSString *outputNumber = [NSString stringWithFormat:@"%d", [textB...
Hi, how can i simplify that code in one line? CGRect screen = [[UIScreen mainScreen] bounds]; NSLog(@"%@", screen.size.width); Thanks for your time. ...
Hi there, I'm trying to subclass UITextView to have a white-on-black background. This works setting self.backgroundColor = [UIColor blackColor]; self.textColor = [UIColor whiteColor]; However, using instruments color blended layers feature there the custom TextView shows up red, which indicates alpha blending dragging down performa...
I want to create one socket (UDP or TCP) in my iphone application for network communication. Now problem is that how can I specify myself that connection should go through wifi or GPRS or EDGE. That is when I am creating socket and sending data through it I want the user selection that data should go through which path, I do not want iPh...
Hi Friends, under the "Guaranteeing the Foundation Ownership Policy" in Apple developer's site article on Autorelease pool http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmAutoreleasePools.html#//apple_ref/doc/uid/20000047-997594, they talk about extending an object's lifetime beyond the Autor...
Hi I am developing an iPhone app which uses pickerview, Upon shaking app selects one random choice. Everything works well but I was wondering is there any way to animate the UIPIckerView as Urban Spoon has done it. ...