Depreciations

iOS depreciation fixes for iOS 6.0+