Archive for the ‘Iphone’ Category

Problem with Objective C UITabBar at bottom of Screen

When poping up an UIAction Sheet infront of a UITabBar I had some problems getting the buttons to correctly react to presses.
The reason for this turned out to be with the UITabBar having the a listener that was a higher priority than the button on the UIActionSheet.
To solve this you have to add the action [...]

Posted on July 22, 2009 at 2:10 pm by Alastair Munro · Permalink · One Comment
In: Iphone · Tagged with: ,

Confusion with simple NString manipulation in Objective C

Coming from a Java background, I’ve found it extremely difficuilt to do any simple String manipulation.
My first attempt was

NSString *string1  = @"This is a";
NSString *string2 = @" test";
NSString *newString = string1 + string2;

As it turns out this doesn’t work so well. After much frustration I found the following solution

NSString *string1  = @"This is a";
NSString *string2 [...]

Posted on July 22, 2009 at 2:02 pm by Alastair Munro · Permalink · Leave a comment
In: Iphone · Tagged with: ,

iPhone OS3

Well its coming.  The promised iPhone OS3, beautifully named I know.  There is much hipe over this release, it brings many many many new features and upgrades.

Cut and Paste!
Blue Tooth freedom, bring on the multiplayer games!
Pushable Notifications to your Apps! So you can now receive an App message just as if it was a txt [...]

Posted on May 29, 2009 at 11:12 pm by Jordan Carter · Permalink · Leave a comment
In: Iphone · Tagged with: ,

Objective Resource, Vodafone 3G, HTTP Basic Auth problems

I haven’t posted in a few days, as I haven’t made any progress in the last few days (and haven’t learnt anything!).
I got my app working perfect (unbeknown to me only on a wireless connection, iPhone App people, iPHONE!.. keep up.)
So it worked perfectly, I installed it on a colleague’s iPhone, then my Boss’s iPhone.  [...]

Posted on March 10, 2009 at 4:40 pm by Jordan Carter · Permalink · Leave a comment
In: Iphone · Tagged with: ,

iPhone Default.png loading image doesn’t display

I had a problem where the Default.png image wouldn’t load on startup of an iPhone app. I Googled as per normal operation and found someone suggest you do a build -> clean.
Worked!
So if you have trouble getting your Default.png splash image to load on startup, make sure it is named “Default.png” and not “default.png”, [...]

Posted on March 5, 2009 at 11:12 am by Jordan Carter · Permalink · 4 Comments
In: Iphone · Tagged with: