Center content within UIScrollView

What is the best way to center a view within an UIScrollView?

There are several ways to achieve it. The main is to subclass UIScrollView (don’t forget about UIScrollViewDelegate) and override 1 or several methods.

iOS fonts

I saw many times code of different applications where developers use only [UIFont systemFontOfSize:12.0] to set font in iOS application.

But there are a lot of fonts available in IOS starting from 3.0 which allow to customize text in application. iOS 5 has even more fonts.

These fonts can be set easy using [UIFont fontWithName:@”AmericanTypewriter” size:12.0];