iphone

Replicating Mail Contact "Bubble" in iPhone SDK

Hi Everyone: When creating a new message using Mail on the iPhone, and after typing the contact, a blue "bubble" appears around the text. Is there some way I can replicate this behavior in my own application? Thanks for any help! ...

How to check is values are set in Settings.bundle

Hi, I'd like to know if there is a way of checking whether the values set in my Settings.bundle are default values, and if they are, give a warning. Would I be correct in doing this ‑(void)ViewDidLoad { if ([[NSUserDefaults standardUserDefaults] stringForKey:@"textEntry_key"] == @"" ||[[NSUserDefaults standardUserDefaults] stringFo...

Mobile Safari Youtube opened via javascript

We have a youtube player embedded in a plage in Mobile Safari and it works great. But we need to be able to launch the youtube player by a means other than user tapping the video itself, for various reasons. So I am trying to figure out what event to trigger in javascript to make it happen with no luck. None of the following appear to...

Row index of pickerview is not displaying correctly.

I had used images in pickerview. But the row number is not displaying correctly. Anyone please help. I used the below code : - (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view { NSLog(@"Row : %i",row); return [customPickerArray obje...

Custom Button on top of another custom button?

I'm trying to make two custom buttons in code. One that fills the full screen with a small button on top. The problem I'm having is the larger button is triggered when the smaller button is tapped. I've tried doing exactly the same thing with IB and it works. Is there some sort of trapping/masking method that I need to use with code? I'v...

Xcode 3.2.2 and iPhone SDK 3.2 on Leopard?

Just a quick question of concern- the latest xcode and iphone sdk states 'Snow Leopard' beside it. Being new to Mac, does installing this on Leopard work? Please don't tell me to upgrade, I just want an answer. ...

UIViewController takes up entire screen in Interface Builder

I have a NIB with a UIView that contains some UILabels, UIButtons etc. and a UIViewController that is loading a UITableView from a detached NIB. I want the UITableView in the UIViewController to be positioned below my UIView, but whenever I add it in Interface Builder it takes up the whole screen, and my UIView becomes part of the UIVie...

Changing text size in Pickerview

How can we change the size of the text in a picker view? Anyone please help. ...

iTunes Connect says my Icon.png file is 0x0.. it's clearly not!

In my project directory, top level, I have Icon.png. Double-checked in Photoshop, it's 57x57. When I submit my application via iTunes Connect or Application Loader, I get an error message saying my icon file is 0x0. Any idea why this happens? ...

Old Iphone sdk versions

Does Apple offer any way to download previous versions of Iphone SDK? I don't want to target lower Iphone os versions but instead install an older sdk. ...

UITableView: NSMutableArray not appearing in table

I'm new to objective c and iPhone programming. I can't seem to figure out why no cells will fill when I run this code. The xml content displays in the console log and xcode displays no errors. Can any help? - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedNam...

Application crashes while [self.view popViewController animated:YES]

application get crashed while invoking [self.view popViewController animated:YES], any reason why this happens ????? ...

iphone EXC_BAD_ACCESS

I seem to get an EXC_BAD_ACCESS error when I select a cell in my table view that takes me to a 2nd table view with a lot of these http://pastie.org/906711 could they be the problem if I have 8 of them ? Heres the backtrace : http://pastie.org/906729 Thanks for your time, ...

Connecting Multiple Buttons to one action?

Hello, I have multiple UIButtons in my app. I also use interfacebuilder. In my .h i have something like this IBOutlet UIButton *button1; IBOutlet UIButton *button2; IBOutlet UIButton *button3; - (IBAction)buttonPressed; Then In my m i want to do something like this - (IBAction)buttonPressed { if (theButtonIpressed ==...

How to load a NIB inside of a view in another NIB?

I have two NIB's ParentViewController.xib ChildViewController.xib ParentViewController.xib contains a UIView and a UIViewController. ChildViewController.xib contains a UIButton I want ChildViewController.xib to load in the ParentViewController.xib's UIView I have done the following: Created @property for UIView in ParentViewContro...

Integrating Codeigniter and Objective C

I'm currently building a social networking site using the codeIgniter PHP framework. One of our major focuses of this site is to be able to upload images through the use of smartphones. We were focusing on building for the iPhone, but the iPhone doesn't let you upload files for some reason beyond me. I have been looking through solutions...

How to run/port MongoDB on iPad?

I wonder if it is possible to run MongoDB on iPad as it is or do I have to port it to iPhone OS? ...

PDF files created on iPad don't display correctly on Windows

My iPhone app creates PDF files (in Arial font). The plain iPhone 3.1.x version works great (other than the known issue that PDF files created on the iPhone can't be viewed correctly in Google Docs or on the BlackBerry). As I am updating my project for OS 3.2 and the iPad, it works just the same, and the PDF files still look great on th...

iPhone Crash Report

My iPhone app is crashing for certain users in UK. I tried using UK timezone and their region format but couldn't reproduce the crash on my iPhone or emulator. Eventually got a crash report and I was able to symbolicate it. However, I have a hard time understanding the results. It appears thread 0 crashed in a system library. The only ca...

persistent view controller

Im building an iphone radio application and I want to have the controls, play, pause, stop, etc. in a tool bar (a custom view controller) at the bottom of the application. I want to keep this there throughout all the views so you can control the audio while navigating through the other parts of the application (multiple view/table contro...