Thursday, 29 November 2012

iPhone 5 activated, stuck with new Bluetooth problem

As I mentioned in this post I received my new iPhone 5 a few days ago, but can't use it at all because I haven't receive my new SIM card yet.

Sick of waiting, as a quick workaround, I borrowed colleague's SIM at work today and finally got it activated. Yeah! Issue resolved!

Then tried to pair with my 3GS (running iOS 6.0(10A403)) to share the connection using Bluetooth through Personal Hotspot and it doesn't work!! WTF!!

Searched the net and can see lots of people complaining about Bluetooth problem on, this is so annoying....

On 2nd thought, I then tried a few different tests:

First, tried to pair my new iPhone 5 to colleague's iPhone 5, both on iOS 6.0 (10A405), but both can't see each other at all. Urh? Why is it like that?

Next, tried to pair my new iPhone 5 to another colleague's iPhone 4s on iOS 5.1.1 (9B206) which was jail-broken.... again, both can't see each other.

Then, tried on my MacBook Pro (OS X 10.7.5), found that I can actually see all 4 devices - old 3GS, my new iPhone 5, colleague's iPhone 5, and the other jail-borken iPhone 4s.

Very strange, does this mean all the iPhones are not suppose to pair/connect with each other, but it's allowed with MacBook Pro??!!

I am confused.

Noticed there's a new iOS 6.0.1 update available, will give that a try on the new iPhone 5 and see if that makes any difference...

[Update 10/Dec/2012]
Upgraded to iOS 6.0.1 doesn't make any difference.
Now that I got my new SIM, found that with Personal Hotspot enabled on iPhone 5, still can't connect from the 3GS using Bluetooth.

However found that in iPhone 5 Personal Hotspot, there's this "Wi-Fi Password" setting for you to connect using Wi-Fi, and found that works ok. So I am now using this to connect my 3GS to iPhone 5, finally got something that's working...

Saturday, 24 November 2012

Multi-level Template display issue in iOS 6 fixed

Thanks to Nick Wilson who pointed out that my Cocos2d Multi-page template doesn't display properly in iOS 6.

As shown below, when loaded in iOS6 it always displays in Portrait mode, and gets quite messy.

Did some research and got it working by making 2 small changes:

1) in "AppDelegate.m", inside "applicationDidFinishLaunching", insert the line highlighted in red as shown below, before "[window makeKeyAndVisible]"

// make the View Controller a child of the main window
[window addSubviewviewController.view];
window.rootViewController = viewController;
[window makeKeyAndVisible];

2) then in "RootViewController.m" add a new method anywhere as below:

- (NSUInteger)supportedInterfaceOrientations {
    return UIInterfaceOrientationMaskLandscape;

That's it. Let me know if this works for you or if you have any other problems.


[Update 25/11/2012]
Nick also pointed out, the other extra thing to change would be to add an iPhone 5 background image.

I have included all these and uploaded V1.02 as below, links in original post also updated. Special thanks to Nick for all the info, let me know if any one else got other excellent ideas to add.

Code: Multi-level template V1.02
Image: Image Files V1.02

// Ver 1.00 - 28/09/2012 First version
// Ver 1.01 - 24/11/2012 Fixed iOS 6 orientation issue
// Ver 1.02 - 25/11/2012 Add background image for iPhone 5 (1136x640), add version number display on Main Menu

Received my new toy

Received my new toy today - white 16GB unlocked iPhone 5, yeah! Really excited and took a few photos:

Haven't receive the SIM card yet, have to wait at least a few more days, at first I thought can just connect to my old 3GS through bluetooth through Personal Hotspot.

I was wrong! Tried both WIFI and iTune, both said I need to insert a SIM card before I can activate the phone. After that, then I can connect to another phone through bluetooth.... What the $#@!#%.... What a torture.... Apple, I hate you!

Thursday, 1 November 2012

You now need to submit 3 sets of screenshot!

Tried to submit an update the other day, and strangely as below, got this "Missing Screenshot" as shown below.
At the details view a slightly more helpful popup message was shown.

It took me a while to find the problem. As shown below, the middle part, we now have a new section for "iPhone 5 and iPod touch (5th ten) Screenshots". The only difference is the new screen size compared to previous version of iPhone/iPod.

Too lazy to design new ones, so I just use Inkscape to increase the width of the existing iPhone/iPod ones a bit, submit the new screenshots, and that fixed the problem. So for those who hasn't or is going to submit new app or updates, make sure you have 3 sets of screenshots ready!