From aa548ca64d37005cf43e9e0c2fa777cf50b9d175 Mon Sep 17 00:00:00 2001 From: Bartosz Kulis Date: Mon, 2 Jun 2014 12:59:36 +0200 Subject: [PATCH] Replaced constant which return current ios version --- MMPickerView/MMPickerView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMPickerView/MMPickerView.m b/MMPickerView/MMPickerView.m index 0986641..64302b7 100644 --- a/MMPickerView/MMPickerView.m +++ b/MMPickerView/MMPickerView.m @@ -248,7 +248,7 @@ -(void)initializePickerViewInView: (UIView *)view //_pickerViewToolBar.tintColor = toolbarBackgroundColor; - #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000 + #if __IPHONE_7_0 _pickerViewToolBar.barTintColor = toolbarBackgroundColor; #endif }