iOS - conditional compilation (xcode)
- by sol
I have created an additional iPad target for what was originally an iphone app.
From the Apple docs:
"In nearly all cases, you will want to define a new view controller class to manage the iPad version of your application interface, especially if that interface is at all different from your iPhone interface. You can use conditional compilation to coordinate the creation of the different view controllers."
But they don't give any example or detail on what conditional compilation is. Can anyone give an example? And where would I do this?