Hello everyone i have these defined in my .pch
#define HIDE_TABBAR
#define SHOW_TABBAR
#define IS_IPHONE_5 ( fabs( ( double )[ [ UIScreen mainScreen ] bounds ].size.height - ( double )568 ) < DBL_EPSILON )
And
#if IS_IPHONE_5
HIDE_TABBAR=568
#else
HIDE_TABBAR=480
#endif
#if IS_IPHONE_5
SHOW_TABBAR=519
#else
SHOW_TABBAR=431
#endif
Basically what i want to do is to check if screen is iphone 5 , and depending screen size set the define variables and use it in .m code. Can you tell me how i can achieve this?