Hello,
i m facing problem of copy paste functionlity in iphone. i m using viewcontroller XIB. in XIB i have list of textFields and one button and click on button validation are there for all fields are mandatory. so problem is when i writing something on textfield then copy - paste menu not appear in iphone.
But when we press the butto...
Hello all,
I have developed an application in which I'm running a countdown timer. The timer fires a method every second. However, when the phone is in sleep mode, the timer becomes slow or even turns off.
I think I need to update the variables by calculating the time intervals using NSDate. Does someone knows how to do this?
BTW, o...
I want to get the status (only once) of the cell connection and the network connection. I don't want the overhead of actually making the network request as my app is not going to use services. Basically I just want to know what the two icons in the uper left are saying.
All possible states for cell/network are:
cell/3g
cell/edge
cel...
I have presented a navigation controller (Nav1) as modal view controller from rootViewController
Then from Nav1 i created another navigation controller (Nav2) and presented it as modal view controller.
In nav2 when i click a table cell it pushes a view controller containing UITextField
Now the problem is when I click on UITextField it...
- (void)applicationWillResignActive:(UIApplication *)application {
NSLog(@"resigning active status...");
}
i have tried hardware-lock in iphone simulator but this isn't called. I do want to call it in another UIviewcontroller class not in the appdelegate itself.I also added in the viewController's header File.
...
Hello
I have downloaded the latest iphone sdk 3.2 beta and my problem is I cannot test my apps on the device because the device (iphone or ipod touch) runs the firmware 3.1.2
any solutions?
if their is no answer just tell me how to develop iphone apps compatible with 3.1.2 using the SDK 3.2
thanks
...
// stampDuty percentages
float stamp1 = (invalue * 1 / PCENT);
float stamp2 = (invalue * 2 / PCENT); // #defined PCENT as 100
// stamp duty
NSNumber *stampN1 = [NSNumber numberWithFloat:stamp1];
NSNumber *stampN2 = [NSNumber numberWithFloat:stamp2];
// then goes to
// Stamp Duty invalue is entered in the textfield b...
Hi all,
Is there any tools available for Dynamic Code Analysis for Objective C Codes?
Thanks in Advance
...
Hi, everyone.
I found this problem after I install the latest SDK and Xcode version 3.2 Beta from Apple. Before install, my iPhone project compile correctly and has no any exception. But after I finished setup the latest SDK, I open my iPhone project to do some update. I compiled the project like I did before, no error report.
But aft...
My development certificate has expired. What is the correct method of renewing it?
Do you revoke the expired certificate & submit a new Certificate Signing Request?
Do provisioning profiles have to be recreated?
Are there any side-effects of doing this?
...
I have seen in most of the apps which i install using itunes has shows a alert please rate the app when deleting the app? is it by default behaviour or we can create it programmatically in our app?
...
I have this code
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item
What I am looking for is a code snippet that illustrates how to detect which button was pressed inside the delegate presumably using item.
So maybe I have buttons 1 - 4 lined up on the tabbar. My user presses the button position 2. I need to know that...
Just doing a normal HTTP post with a NSMutableURLRequest and sendSynchronousRequest. But the NSHTTPURLResponse object I pass in has a statusCode of zero after the call. I get this error:
Error Domain=NSURLErrorDomain Code=-1012 UserInfo=0x4d3b3c0 "Operation could not be completed. (NSURLErrorDomain error -1012.)"
but no status code. ...
I have been trying, without success, to compile the pjsip library for the iPhone SDK version 3.0. Can anyone point me to a guide on how to do this?
...
Hi there,
I am using SQL lite database in my iPhone app. I have a refresh button on my Home screen and upon click of then refresh button I parse data from my web service and store the results into a SQL lite database. When I click on refresh button repeatedly I get an error. The error occurs after a variable number of clicks/refreshes e...
I'm hoping to make an app that streams live video that has a view placed on top with labels and a button on it.
From my research and testing of the http video streaming feature (available since iPhone 3.0 OS), it seems that you create a webview that points to the index html that contains the converted video stream, and this displays as...
Hey guys, I have been hitting my head against the wall trying to figure this out for two days with no luck. I have a basic UIWebview that is navigating to a page. That page has a Javscript function that seems to crash the UIWebView but works just fine in safari. I am at a loss. I get the following crash error:
2010-02-03 08:30:16.5...
Hey guys! I am having some trouble with giving an MKAnnotationView an image instead of a pin view. In other words, I am having trouble displaying a target image (target.png) instead of the normal pin view. Here is my code---
// .h file
#import //Here it says to import mapkit
NSString *mTitle;
NSString *mSubTitle;
}
@end
...
Hello all,
I want to rotate an UIImageView in the following manner: If I hold the imageview and move the finger to left, then the imageview should rotate to the right (and vice-versa.)
Here is the link Balance
...
Hello,
I'm new to iPhone SDK.
Any idea how to put the iPhone into the sleep mode from within the code (my application), as if the user has clicked the sleep/wake button?
Best regards.
...