local Notification + run specific function
I want to do specific job when app notify means instead of show alert run specific function is it possible ? ...
I want to do specific job when app notify means instead of show alert run specific function is it possible ? ...
I have the following 2 issues with iPhone 4 images. Any help is appreciated. When using iPhone 4 if I access an image from photo library in my app and save it in a database, then retrieve it again, I see it has lost resolution. The same works fine on 3G - no loss of resolution. Any idea why this could be happening? I am using retina sc...
hello frnds, i want to display plist data(an array with string contents) in tableview.can ny1 guide me with some code? ...
Hello, I have to get the current country in the iPhone settings. Can anyone tell me how to get the current country in iPhone application. I have to use the current country for parsing the RSS feed in which I need to pass the current country. Please help me out to find the country . Thanks in advance. ...
I have an image view on which i have included a table view. Now i wanted to insert a subview on the image view through which i wanted to show an extended background image. I have added a subview like so on viewDidLoad.... if([data count]>3) { UIImageView *i=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"test.png"]]; ...
I am trying to listen for UIMenuController Notification in iphone sdk 3.0 . But it seems that my notification can never get called. Here is my code: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(menuControllerWillShow:) name:UIMenuControllerWillShowMenuNotification object:nil]; and my method - (void)m...
I want to access notes and calendar using native iphone app. I want to know is it possible in new iphone os? Is there any public pi for that? ...
Hi..., I had successfully integrated Paypal with my iPhone application, but I got stuck over passing the Custom variable via SOAP to Pay pal using IPN Message. Has anyone pass the Custom Variable to Pay-pal Server????I am making an application for a restaurant,user can make payment using Pay-pal server. I need to pass the Custom vari...
Hello, a website has 2 textareas and 2 submit-type buttons. Both textareas are simple text <input type=text name=to class="text" value="" maxlength=20>. One button is send button <input type=submit name=s value="Send"> another is erase <input type=submit name=reset value="Erase" onclick="eras=1;"> . Is it somehow possible to replace th...
When you create a default iphone OS project in xCode, you have a main.m in "Other Sources" on the side panel in xCode. How does the int main() in there use argc and argv and why does it need it? Thanks :) ...
I try to recompile my iPhone application in os4. To do this I simple install the new sdk on my MacBook. When I try to recompile I take a lot of strange errors (33). It is not clear for me the error reason because this errors seem to be out of my code. Which is the best way to migrate and recompile the sdk 3.x application in the new 4.x...
Hey all, I'm planning my first iPhone app and I'd like to get some inputs as to how to build it, right from the start. The iPhone app is being built to be paired with a public facing web application that is already built in PHP. I'd like the web platform to be central (data is housed in a mySQL database), and have the iPhone clients ...
1) I have the CoreData.framework imported. In Groups & Files I see it in the Framworks list together with UIKit.framework, Foundation.framework, CoreGraphics.framework. 2) I have this code, I am not sure what this error means #import <UIKit/UIKit.h> @interface SQLLiteDemoAppDelegate : NSObject <UIApplicationDelegate> { UIWindow *wi...
When a hardware keyboard is used with iOS, pressing tab or shift-tab automatically navigates to the next or previous logical responder, respectively. Is there a way to do the same programmatically (i.e. simulating the tab key rather than keeping track of the logical order manually)? ...
Can you describe the naming convention difference between a method that returns an object it has allocated for the caller (and that the caller should release), and a method that returns an autorelease object? If you declare a property with a retain attribute, do you need to release the property before you set it to nil? What does the ...
How can i take screenshot from code ? ...
How can i get sound from iphone/ipod library?(means like read photo from photo library) ...
Hi, I am working on an iphone app for sdk 4.0. I need to upload an audio to webserver. User will choose a audio file fromm existing iphone libraray and this should be upload on server. I am supposing that (MPMediaItemCollection *) will return an audio file and further i will convert it as NSDATA and send to server using webservice. but i...
Hi I want to run my app keep running in the background with location services. For this I have used: * (void)applicationDidEnterBackground:(UIApplication *)application { [locationManager stopUpdatingLocation]; [locationManager startUpdatingLocation]; //timer=[NSTimer scheduledTimerWithTimeInterval:300 target:self selector:@...
i am trying to access videos in iPhone library using AssetsLibrary Framework with the help of following code...but when i run the application the code is not working...the array assets is still empty?? what am i doing wrong?? btw my iPhone is a 3G upgraded to iPhone 4.1.(but assets framework is not giving any error) NSMutableArray *ass...