example project compatible with iOS 6