Archive for category iPhone

The iPad’s name is a joke

“I think the iPad is a bad name choice. How are people in Boston supposed to differentiate between it and the iPod?” — amusing Reddit comment. Looks like Reddit is far from the only place making the joke:

http://search.twitter.com/search?q=ipad+boston

And, of course, the infinitely more predictable iTampon:

picture-1

Note that iTampon is trending on Twitter, while iPad is not. Although, to be fair, only roughly 1 in 10 tweets (over a highly scientific 5-minute real time search sample) mention iTampon.

picture-2

/amused

,

No Comments

iPhone App distribution without ad-hoc provisioning

Mobile Orchard has a great tutorial on how to distribute iPhone apps to other developers without jumping through the ad-hoc hoops. I haven’t tried it yet, but it’s good to know.

http://www.mobileorchard.com/developer-to-developer-iphone-app-distribution-without-ad-hoc-provisioning/

No Comments

Wow. Flash CS5 will allow building native iPhone apps with ActionScript

http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/

Flash Professional CS5 will enable you to build applications for iPhone and iPod touch using ActionScript 3. These applications can be delivered to iPhone and iPod touch users through the Apple App Store.*

* Delivery through the App Store requires participation in the iPhone Developer Program and approval of the application by Apple.

This is going to be fun to watch. The iPhone is already a massive gaming platform - what will happen when you mix the App Store and Newgrounds?

Even more interesting to watch will be Apple’s reaction. They haven’t exactly gone out of their way to bring Flash to the iPhone - which this doesn’t do, exactly, but it’s a step in that direction. I can’t see Apple being very happy, but they can’t openly oppose it without taking a big PR hit - I expect to hear a lot of CS5 app rejection stories, though.

As always, some good discussion on HN.

No Comments

How to get the contents of UIWebView on iPhone

Say you have a UIWebView in your iPhone application, maybe you have some JavaScript that changes its content, for whatever reason you want to access the content of the UIWebView… how do you do it?

It’s not immediately obvious from the API docs, but it’s pretty simple. Something like this should do the trick:

[myWebView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('html')[0].innerHTML"]

Doesn’t seem all that clean, but it’s the best I’ve found so far - if there’s a better way, I’d love to know.

,

1 Comment

Funny thing

Preparing an app for distribution on Android:

1. Click on File/Export
2. Select Export Android Application, click Next
3. Follow the steps in the wizard.
4. Done!

Read the rest of this entry »

2 Comments

UIScrollView and UIDatePicker (or UIPickerView)

I ran into a very simple problem, but a quick Google search didn’t reveal any simple (or even functional) solutions.

Simply put, trying to use a date picker or picker control inside a scroll view leads to problems: trying to scroll the picker ends up scrolling the scroll view itself.

The solution is very simple: set the UIScrollView’s “canCancelContentTouches” property to NO.

Like a lot of Apple’s documentation, this part makes sense once you already know what it means…

If the value of this property is YES and a view in the content has begun tracking a finger touching it, and if the user drags the finger enough to initiate a scroll, the view receives a touchesCancelled:withEvent: message and the scroll view handles the touch as a scroll. If the value of this property is NO, the scroll view does not scroll regardless of finger movement once the content view starts tracking.

(from the docs).

I actually understood it a lot faster by just reading the comments in UIScrollView.h.

(tested in 3.0, haven’t tried 2.2.1 yet)

1 Comment

LyricFind Lite beats Shazam on iPhone!

At least in Canada. #1 in free music apps, #9 in overall top free apps, #17 paid music apps. In the US, #6 free music app and #16 paid. Is this thing unstoppable?

No Comments

LyricFind iPhone app already at #9 in the free Music category!

I just talked to the LyricFind guys, and after only two days in the app store, it looks like the LyricFind apps are doing great!

The free version is already at #9 in the Music category, with great reviews so far. The paid version is no slouch either, currently sitting around #54.

It’s a great app, and I’m not just saying that because it was the first iPhone app I made ;) It’s simple, easy to use, it does one job, and it does it well: finding lyrics for over one million songs. Works on both iPhone and iPod Touch.

Check out LyricFind Lite (link goes to iTunes), or the ad-free version.

Edit: #4 in Canada, #9 in the US, and still climbing! I couldn’t be happier with this!

2 Comments