iphone

Problem setting autosizing in interface builder

I have two viewControllers, one is a subclass of UIViewController (autoresizes correctly), the other one is a subclass of a subclass of UIViewController. I did a layout in Interface Builder, I tested my code in the Simulator and everything works as expected. But if I rotate the device my views don't resize. So I went back to Interface Bu...

Parse NSURL query property

Hi there I have a URL like myApp://action/1?parameter=2&secondparameter=3 With the property query I get following part of my URL parameter=2&secondparameter=3 Is there any way easy to put this in a NSDictionary or an Array? Thx a lot ...

Access email client from a web app for iPhone/Blackberry

Can we access the native email client from an iPhone web app, or a BlackBerry web app? ...

Can I subclass UITableView to make it a specific style?

Basically I want to re-style UITableView(Controller). Each cell will have a picture as a background and such. this tableview will be used throughout the app thats why I want to subclass it, because I want to be able to define the style once and then reuse it everywhere, but still be able to change things per view. For instance, I'd like ...

Update UITabBar Views?

I have an application where I was using buttons on a toolbar to call up the views, but I am switching it over to using a tab bar. When using the buttons I was using the following code in MainViewController.m to update the values on the page and it was working just fine: -(IBAction) loadSummaryView:(id) sender { [self clearView]; [sel...

How can you bold just one word in a UILabel?

It's easy to display a single label with entirely the same text but what happens when you want to display one word in bold? Example: All your bases are belong to us. ...

removeItemAtPath on a file already open

Hi all, I have a file open on the iPhone that I am sending the data of across the network (Opened using "_open"). However I have the ability to delete files from the iphone's interface. This is done using NSFileManager's removeItemAtPath. The odd thing is that removeItemAtPath is succeeding even though the file is currently open. ...

Listening on USB port for data in iPhone App

I am wanting to send data over the usb on the iphone and have it captured by my application. This application will be private and not sold. I would also like to just use the standard usb cable that is standard. Is this possible? ...

iPhone static libraries

Hi, I have some problems with creating static libraries. Let say I have the static library A which I created and I included that to static library B with the relevant header files. I need to create a static library C which will be my final library and it it should include static library B which implicitly include the static library A....

why my webpages can't break line in Iphone browser ?

This is my website for mobiles to visit : m.looa.com If you got an Iphone,please visit it and you will find that the words don't break line . This only happens in Iphone's browser, it looks fine for android and almost all browsers for PC,including IE Chrome FireFox and even Safari(you can try that). I know this must have something to...

Objective-C Category Causing unrecognized selector

My project has a UIImage category function that I want to call from another class. I properly import the header file for the image category and I get the project to compile with no warning. The problem is that when I call the uiimage category function I seen an unrecognized selector error with a NSInvalidArgumentException. Why am I seei...

Beginner path to Game Development for OS X and iPhone

Another question. I have been researching everything this wonderful community has offered me in terms of my journey to pursue game development. I have come to the conclusion that I would prefer to develop on my native machine, OS X - eventually leading to the iPhone. I already own both Big Nerd Ranch guide's, Iphone Programming - the ...

xcode 3.2.4 simulator issue with in-app messaging

Just upgraded to xcode 3.2.4 and am having some issues with the simulator. Prior to the xcode upgrade I was testing my app in the simulator for using in-app mail and in-app messaging. I would switch between the different OS (3.1 and 4 - I believe) and check to make sure that the in-app messaging functions were disable on a device prior t...

Chnage UIBarButtonItem colori

Hi, I have created a custom bar button item in code. UIButton* backButton = [UIButton buttonWithType:102]; // left-pointing shape! [backButton addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside]; [backButton setTitle:@"Custom Item" forState:UIControlStateNormal]; // create button item -- possibl...

how to manage drag and drop for MKAnnotationView on IOS ?

Hello, I'm working without InterfaceBuilder. I've an instance of MKAnnotationView with setDraggable on YES, In My MKMapView my annotation view is displayed and I can drag and drop it. How can I execute an method when the drop action is performed? In this method I need the new coordonates of my annotation view. ...

iOS application update system

Hi all! I'm new to iOS development. And i can't find an answer to a question how does application update system work. I want to write a game which will have a set of levels. Then i want to be able to add new levels to the game (after it was uploaded into app store). So my game should be updated. And i don't understand how to do this. ...

How to register UIControlEventTouchUpInside on UISegementedControl?

I want to register a function on a UISegmentedControl for the event UIControlEventTouchUpInside -- not UIControlEventValueChanged. I specifically want to ensure that it fires only when the user touches within the item, not when its value is set programmatically. Any suggestions? ...

How to use UITabBar without images... means with text only

I want to use UITabBar but without images. I want the text to occupy full control space. i tried setting image to nil, but text is small and aligned to botom of tabbaritem. ...

In App Purchase finished outside of an iPhone app

I am implementing an in app purchase subscription model. Let's say I have an iPhone 3 user which starts the whole purchase process from my application and then exits the application only to continue and fill his app store credentials outside of my app until he is done with the purchase. How can my app know that the transaction was made...

Subclassing UITableViewController what you get?

This is probably me being a little dim, I am setting up a UITableViewController via a UINavigationController, I have subclassed UITableViewController: (see below) and have implemented the datasource methods to get my table up and running @interface RootViewController : UITableViewController { NSArray *dataList; } @property(nonatomic...