Showing posts with label Xcode 6. Show all posts
Showing posts with label Xcode 6. Show all posts

Saturday, February 14, 2015

Troubleshooting MFMailComposeViewController (iOS 8.1)

Wow, so I spent nearly the entire afternoon wild goose hunting a confirmed(1) problem with
MFMailComposeViewController
seeming to just hang upon presentation; no keyboard pop-up or input but I could cancel/close just fine.

Sorry, here's the fix:
REBOOT THE DEVICE!

What I found most troubling was that all my recent (64bit) updates for my Cocos2D games have a "Contact Developer" button which of course opens a new message pre-filled out and THEY ALL WORKED FINE. From a coding perspective they were all the same so if one worked and others didn't perhaps I would have rebooted the device sooner. Nope, they all worked fine but my non-Cocos2D (UIKit) app was flat-out broken.

ARG

(1)by confirmed I mean I quickly found what sounded like my exact problems on stackoverflow.com and plenty of hits via google.

Monday, October 13, 2014

iOS 8 & iTunes Connect

Quick post:

Using Xcode v6.0.1 when you submit a second update you MUST update the build number otherwise you'll get an error about "Build xxx" already exists.

Friday, September 12, 2014

Xcode 6, Simulator & iOS 8

Um yeah so what's up with the "features" in Xcode 6?

1: The "new" Devices window only show about 10-12 lines of the device log - um yeah, thanks Apple, that's helpful! NOT.



2: Being familiar with shortcut key combos; we all know that {CMD} + {SHIFT} + {K} will Klean the build (see what I did there) but now in the simulator there's the SAME combination that will DISABLE the on-screen keyboard. So, make sure your have Xcode selected before you press that key combo! Yeah I futzed around debugging that non-existing problem for about 30 minutes! ARG

 



3: UIActionSheet has now gone the way of UIAlertView; meaning you can no longer sub-class it and add subviews. Handy, right? Well github to the rescue; just drop this bad boy in and off you go!
LINK

Well that's it for now, back to cleaning up my apps for iOS 8!