I am making an application which will run both on iPhone and iPad. On the iPhone the space available is limited so the text size on the labels are "small", however on the iPad the screen size available is larger and therefore I want the labels text size to be increased as well. How can I achieve this?
Example: I have labels that has a text size of 12 points on iPhone, on iPad I may want them to be 26 points.
I thought of making some macros for the preprocessor. Some kind of stylesheet. Each iPhone size has a corresponding iPad size.
(Just for illustrating purpose of what I had in mind)
#define 12 CheckIfIphone then 12 otherwise 26
I let the name of the macro be the text size in point on iPhone, and this would be replaced if the current device is iPad.