iphone

How to create a splash screen with a UIActivityIndicator for a Tab bar application ?

How to create a splash screen with a UIActivityIndicator for a Tab bar application ? ...

How to center align the maximum-scale viewport zoom for iphone

When I set a maximum scale and when I rotates orientations back and forth, the web page isn't centered on the phone. So using this code <meta name="viewport" content="width=device-width; initial-scale=0; maximum-scale=2;"> How can I mimic the CSS effect of margin: 0 auto;. ...

NSFetchedResultsController delegate methods not firing after mergeChangesFromContextDidSaveNotification

Hi, Been browsing through the posts similar to this one but none answered my problem. Like CoreDataBooks, I use a separate MOC for adding and editing items and observe the proper notifications, like so: - (void)addControllerContextDidSave:(NSNotification*)saveNotification { NSManagedObjectContext *context = [self.fetchedResultsCont...

How to add image in place of text in navigation bar ?

How to add image in place of text in navigation bar ? ...

how to manage a stack of UITableViews without a navigation controller

I am new to iPhone development, and I am working on modifications to an existing iPhone app. The high-level overview of the issue is this. I have a button displaying a pop-up containing a UITableView. I'd like to click on a menu item and display a second UITableView with sub-items, including a back option. If the user clicks back, they...

multiple image scrolling

Hello friends i am new to iphone developing currently i am trying to make a demo like imagescrollview http://developer.apple.com/library/ios/#samplecode/PhotoScroller/Introduction/Intro.html%23//apple_ref/doc/uid/DTS40010080 as per the link there a sample code of PhotoScroller i am trying to make same application but in this demo ther...

EventKit in Universal app (OS3.2)

I made iPhone app with eventkit framework. However, i upgrade to universal app, app can't run in ipad. I got error message dyld: Library not loaded: /System/Library/Frameworks/EventKit.framework/EventKit Yes, event kit only work for iOS 4.0 or later. So, how to make it for universal. I want to make , if iPad app, don't use event kit ...

Is it possible to add attendees in EKEvent (in iPhone Native calendar app)

Does any one know how to add contact( attendees and organizer property) name in EKEvent(native calendar application). Thanks. ...

problem in UIAlet

Hi, I am create my first iphone app however facing lots of problems now.. I am trying to use an alert window which has options of Yes and No. WHen i click on no it should remain on the same screen however when i click Yes it should take me to another screen but i am not able to do the Yes part. My code looks like this.. -(IBAction)butt...

Update iPhone SQLite DB

I want to use SQLite update query to update the database in iphone. Could anyone provide me with the code how to do that? ...

How To Annotate A PDF in iPad

Hello All, I need to annotate a PDF in my application. is there any API for PDF annotation in iphone/ipad ? any suggestion thanx in advance. ...

Create reminders in iphone programmatically...?

can we Create reminders in iphone programmatically...?? i read it is not possible in ios 3.0. can it be possible in ios 4.0 ..??? if no, any other alternative to acheive the same .. ...

Millisecond sleep in C on iOS4

Im trying to sleep for a specified amount of millisecond in C on iphone but I keep getting some complaints on the console: Detected an attempt to call a symbol in system libraries that is not present on the iPhone: nanosleep$UNIX2003 called from function ... Detected an attempt to call a symbol in system libraries that is not present o...

Pass a variable between lots of UIVIewControllers

Hello, In my iPhone app, there is a setup assistant which helps users to input a lot of data. It's basically a UINavigationController with lots of UIViewControllers in it. Now, at a certain point, I want to access a variable that the user entered in the first UIViewController he saw. I could pass the variable between every UIViewControl...

reference to currently visible uiviewcontroller

AT certain point in my class ABC, I want to display a UIViewController. ABC itself is not a subclass of UIViewController, hence I cant do [self.navigationController pushViewController:myViewController animated:NO] Is there a way to get a reference to the currently visible UIViewController (top of navigation stack) ...

how to write NSMutableDictionary into Plist

hello all, can any one help me with this how to write a NSMutableDictionary into a plist.... thanks in advance.. ...

UIView moving object slows down screen?

I am moving an imageview with UIView using the MoveMe example provided by Apple. But what I found was that when I touch the object on the screen to drag it, I notice that all my animations on the screen slow down. I was wondering how can I get the user input without slowing the animations down? I'm trying to make a joystick for a game. D...

Disable numbers and punctuation button on iphone keyboard

Hello, I have a UITextField that brings up the keyboard. I just want the user to input alphabets and not numbers or punctuation marks. How do I disable the numbers and punctuation key on the default keyboard that pops up. Thanks. David ...

Automatically exit my application after 10 minutes of non interactions

An example would be if a user sat their phone down with my application open and running but there had been no interactions with the application in the last ten minutes, the user should be logged out and have to sign in again. Is this a parameter that can be defined? ...

next fire date in UIlocalNotification

Hi All I have created a UILocalNotification....& when i print it NSLog(@"Notification %@",self.notification) it gives Notification <UIConcreteLocalNotification: 0x6f45440> {fire date = 2010-10-22 00:09:00 -0700, time zone = America/Vancouver (PDT) offset -25200 (Daylight), repeat interval = 64, **next fire date** = 2010-10-22 00:10:...