While the status bar is usually 20pt tall, it can be twice that amount in some situations:
Just try it, and you'll see for yourself. Hardcoding the height to 20pt will usually work, until it doesn't.
So I second H2CO3's answer:
statusBarHeight = [[UIApplication sharedApplication] statusBarFrame].size.height;