iphone

Interface builder problem: When hooking up an IBOutlet, getting "this class is not key value coding-compliant for the key"

Here is what I do: 1) Create New UIViewController subclass , tick with NIB for interface builder 2) In the header: @interface QuizMainViewController : UIViewController { UILabel* aLabel; } @property (nonatomic, retain) IBOutlet UILabel* aLabel; @end 3) In the .m #import "QuizMainViewController.h" @implementation QuizMa...

What am I gonna do with that AppID?

I had to make a new AppID in order to get my provisioning profiles working. But I completely forgot: If I make an AppID with no wildcard, I can only run those apps on my test device that have this AppID? ...

How to remove section header and footer view from table view?

hi i am using grouped table view with single section (since i want cells in rounded rect) i want to remove table view section header and footer to save that size but its header and footer are removed but same size it maintaining...... how to solve this...? ...

how can i hide the keypad from iphone simulator after its use ?

how can i hide the keypad from iphone simulator after its use ? in my app Ist textfield is for name , another one is for password and one button i want to hide the keypad whenever i clicked on button. ...

Max size iPad / iPhone Offline Application Cache

Anyone knows the max size of Safari's 'Offline Application Cache' on the iPad & iPhone. Looks like it's 5MB. Is there any way to enlarge this size? Offline application cache docs: http://developer.apple.com/safari/library/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/OfflineApplicationCache.html ...

UIPickerView scroll issue

when the user scroll UIPickerView it is auto select the row ,, i want to select and mark when the use tap only, any solution for that ? ...

Out of space error in iPhone

In iPhone, how do you determine if a file couldn't be written to the documents area because of an out of space error? ...

How to add security identity (certificate + private key) to iPhone keychain?

How to add security identity (certificate + private key) to iPhone keychain? I have .p12 file in application. I can get identity from it using SecPKCS12Import() but when i try to do the following: NSMutableDictionary *secIdentityParams = [[NSMutableDictionary alloc] init]; [secIdentityParams setObject:(id)kSecClassIdentity forKey:(i...

Testing out of space conditions in iPhone

What's the easiest way to simulate or create out of space conditions in iPhone, both on the simulator and on an actual device? I would like to test the code that handles such situations. ...

A question related to UIBarButtonItem

I have 1 UIBarButoonItem on UINavigationBar.now as i'm moving view from portrait to landscape mode my UINavigationBar resizes Automatically but UIBarButtonItem not autoresizes My UIBarButtonItem is at rightmost position ...

Can I add an alphabet jump list to a tableview like the contact list

I would like to create a custom contact list in my app offering a similar A-Z jump list like the standard contact list does. Is this possible with a TableView? ...

if statement on UIButton within didSelectRowAtIndexPath

hi guys, i have a UITableView , within each cell i have 2 custom buttons, what i want to do is withing the didSelectRowAtIndexPath method i want to do an if statement on which button was touched so i would effectively be splitting a cell in 2 but i have no idea how i could wright the if statements. any help would be greatly welcomed ...

Toggling UITextAutoCorrectionType WHEN a UITextField is being edited

I want to turn auto-correction on/off based on the content in the text field. For example, if the user is typing a phrase like "Machine tools" I want auto-correction to be on (for the rest of the words she's gonna type) but if I sense the beginnings of - say - a web address like "www.mach.." I want to turn auto-correction off. I tried ...

UIView animation doesn't work first time

Hello everybody, I have a seachButton in the navigation bar which upon hitting calls following method: - (IBAction)search:(id)sender { if (nil == searchViewController) searchViewController = [[SearchViewController alloc] initWithNibName:@"SearchViewController" bundle:nil]; searchViewController.view.backgroundColor = [UIColor clearC...

Instruments memory leak iphone

Hi, I posted this problem a few days ago but it was very muddled and my question wasnt very clear so I removed it. I've been digging around and the memory leak is still persiting. Hopefully this attempt will be clearer. First off I've run the static analyzer and it reports no memory leaks. I then ran Instruments and it pointed to a me...

Xcode: iPhone screenshots no longer work

I can't be sure when this stopped working because I haven't used it for a while, but it was possibly since I upgraded to the 3.2 SDK. In Organizer, when I select the "Screenshots" tab and press "Capture", nothing happens. I've tried this with three different devices and I've restarted my Mac. What's happened, and how can I fix it? ...

iPhone:Tabbar hides when pushing from TableView to UIViewController

Hello all, I have four Tab bar items in a Tab bar which is being bottom of the view where i have the TableView. I am adding Tab bar and items programmatically (Refer below code) not through I.B. Click on first three Tab bar items, will show the data in the same TableView itself. But clicking on last Tab bar items will push to another UI...

Distributing APNS providers

I'm writing a business-focused iPhone app which includes a self-hosted server component. I'd like to include push notification functionality in the server; reading through the programming guide it looks as if this would involve either: Distributing the provider certificate with the server component - this doesn't sound like a terribly ...

Help for AES-128 Bit Algorithm ?? i want to encrypt it

Can i get link for AES-128 Bit Algorithm any sample code please help ...

How to display the UIActionSheet view from above Tab Bar Controller?

Hi Guys , I need to display the action sheet above the Tab Bar controller. I mean, I would be able to see the Tab Bar controller even the action sheet view is in visible mode. So, Please suggest how to view from above the Tab Bar controller. Is it possible. secondly, How to change the back ground color of action sheet and cancel butto...