Fixed warnings associated to iOS 6.1