diff --git a/CodeSnippets/20888CE5-13E0-4B11-9BE3-4EEEB93DB277.codesnippet b/CodeSnippets/20888CE5-13E0-4B11-9BE3-4EEEB93DB277.codesnippet index a4f21a33..fbcd3f57 100644 --- a/CodeSnippets/20888CE5-13E0-4B11-9BE3-4EEEB93DB277.codesnippet +++ b/CodeSnippets/20888CE5-13E0-4B11-9BE3-4EEEB93DB277.codesnippet @@ -29,7 +29,7 @@ #define UI_NAVIGATION_BAR_HEIGHT 44 #define UI_TAB_BAR_HEIGHT 49 #define UI_STATUS_BAR_HEIGHT 20 -#define UI_SCREEN_WIDTH 320 +#define UI_SCREEN_WIDTH ([[UIScreen mainScreen] bounds].size.weight) #define UI_SCREEN_HEIGHT ([[UIScreen mainScreen] bounds].size.height) #define UI_LABEL_LENGTH 200