iPhone 4 font size too large to fit

502 views Asked by At

I've developed an application for the iPhone, showing a UIAlertView with two buttons. One that says "Cancel" and one that says "Send Challenge".

This works fine on the iPhone. But on the iPhone 4, the "Send Challenge" gets truncated to "Send Challe..."

Seeing as how the iPhone 4 is supposed to be exactly the same as the iPhone just with twice as many pixels, it seems odd that the text isn't scaled up to be exactly twice the size as well. Any thoughts on how to fix? I've seen it happen in several places, but most of the other places, I was able to get around it by changing the label size by adding a few pixels. I don't think I can do that with a UIAlertView.

2

There are 2 answers

1
Ed Marty On BEST ANSWER

Haven't found a real solution to this other than changing the text to be shorter. Really annoying that the iPhone 4 isn't exactly 2X from the iPhone.

0
coneybeare On

You can roll your own alert system. Try looking at the excellent MBProgressHUD for tips on how you might be able to start with something like this