iphone

How to create multiple labels for iPod Touch

I want to use two labels on the same view in an iPod Touch application. I have created the two labels, but I only know how to access on of them. Does any one have an example of how to do this? ...

iPhone: Pass information from web page to app that's downloaded from App Store

I'm trying to glue information from a web page to an iPhone app that said web page suggests to download. I control both the web page and the downloadable app. Scenario is like this: User visits my web page, on which I recognize the user (he may have logged in, and I store his info in a cookie). I then present a link to him to an app in...

Three20: Make a TTTableItem link to a TTViewController

I want my table items to show the disclosure arrow and link to another "details" screen. Pretty standard. Three20 is supposed to help with this. In my TTListDataSource, I'm currently doing: - (void)tableViewDidLoadModel:(UITableView *)tableView { [super tableViewDidLoadModel:tableView]; // Construct an object that is suitab...

Month TableView Organizer

I need to create a table view with 1 or 2 sections, depending on certain conditions. The first section needs to contain all of the remaining months of the current year, and the second section contains the preceding months of the next year, up to but not including the current month. Example: 2009 November December 2010 January ...

Textmessage containing an appstore link

Hi, how do I build a link, which opens the appstore and shows an app (something like itms://myapplication?action=show). I want to send that link via a text message (over the web). All I've found was the ITMS link generator. Best regards, Stefan ...

Default Header view for UITableView

I have a UITableView that is styled as a grouped tableView. Under certain circumstances I need to create a custom view for the header and under other circumstances I want the default one. Creating a custom header is the easy part - simply use the delegate: - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger...

Why do I see double status bars when starting my app?

When starting my iPhone application, I'm seeing both the status bar from Default.png and the OS's built-in status bar, instead of just seeing the OS's status bar. What have I done wrong? ...

How can I put a progress bar in a UINavigationController's toolbar like the Mail app?

My application connects to the network to retrieve some data and I'd like to show a progress bar in the toolbar of the UINavigationController of my application. What I actually want is very similar to the Mail application:                                        Except I would like to have nothing to the left of the progress bar, and a...

xcode 3.2 + iPhoneOS 2.2.1

Anybody have any luck with building for iPhoneOS 2.2.1 with snow leopard / xcode 3.2? I tried installing the packages from the xcode dmg (it comes with them), but now I can't seem to get around the "Stdarg.h: No such file or directory" problems. This only happens when I build for the simulator, not when I build for the device. Anybo...

Memory Leak when using for(object in array) with iPhone SDK

Hey Everyone, I am running into some serious memory leaks in one of my applications I am building. I have a UINavigatonController that is inside a UITabBarview. Inside the NavView is a MKMap view. When you click an accessory button on a callout a detail view is loaded. In that detail view I am trying to populate a table from a plist usi...

In App Purchase for updates?

I need some advice on which path to go down to add some self-update capability to my app. I've got an app in the App Store that uses a database full of information that needs to be updated periodically. Up until now I have been updating the db only when I push a new version through the store. We need the ability to update the db quicke...

Is if(obj && obj != nil) correct and necessary?

Two parts to this question 1) Is this understanding of what's going on correct? "if (obj)" is testing to see if the pointer is not 0x0, aka set to an integer memory address "if (obj != nil)" is comparing the memory address of the object to the memory address of the universal nil object 2) So in a situation where I don't know if a varia...

Has Anyone Used the rhomobile Framework?

I have a client asking about the rhomobile framework. I have been researching it a bit and wanted to see what the community at large thought about the framework and what, (if any), problems you came across in developing with it. Thank you, L. ...

iPhone:How to remove button background image programmatically?

Hi All, Programmatically I am creating buttons and keeping some background image using setBackgroundImage. I want to remove the set background image in the button after some time interval. I have timer code, which will call after particular interval. At this time, i want to remove the button background image in my program. I'm done with...

Multiple iPhone APN messages, single connection.

I have a strange issue. I'm trying to get Apple Push Notifications working with Python. I can connect and send individual messages without a problem. The issues pop up when I start sending more than one message, but it's more bizarre than even that. I'm testing with multiple devices... some iPhones and some iPod Touches. I can send mult...

Displaying UIImagePickerController within another UIVie

I've been working pretty extensively the last couple months with UIImagePickerController, particularly with the new capabilities in OS3.1 and newer to overlay views on-top of the camera view. This has worked just fine. However, I am currently working on a project where I'd like to be able to display the camera view of the UIImagePickerC...

Are there incremental updates to the iPhone SDK?

Hi! I've only found the full download (iPhone SDK 3.1.2 with Xcode 3.2.1) on the developer center. I haven't been able to find something that will update me from 3.0 to 3.1.2? If I already have the 3.0 SDK do I still have to download the full 2.5GB version. Thanks! ...

Passing Variables between views / view controllers

Hi I'm new to ObjectiveC / IPhoneSDK and I'm informally trying to study it on my own. What I'm basically trying to do is from one view there are 12 zodiac signs. When a user clicks one, it proceeds to the second view (with animation) and loads the name of the zodiac sign it clicked in a UILabel, that's it. Here are my codes: Lovescopes ...

Search bar delegate - difference between searchBarShouldBeginEditing / searchBarTextDidBeginEditing?

What's the difference between them? In my experimentation, they seem to get called during the same action - once the user taps the search bar to bring up the keyboard. This is despite the user not having editing the actual text yet. Which seems to call searchBar:textDidChange. But that gets called for each change, not just once at the be...

iPhone - does TouchXML use an undocumented APIs?

Recently I've heard that Apple is using tools to search for references to undocumented APIs and are rejecting iPhone apps from the App Store because of it. The popular Three20 framework is causing people to get rejected. I also just saw that the KissXML library has also caused rejection. I'm looking for an Objective C DOM-based XML p...