Why no Getting Started with iOS tutorial?

Hi bobmanc,

Glad the Android tutorial was helpful! Make sure you also take a look at Timur’s post here:

Getting started on iOS should be pretty painless (zero pain) compared to Android (where getting the tools installed correctly is not entirely trivial). With iOS you should simply be able to add iOS as an export target in the Projucer, fire it up in Xcode, then Build & Run.

There is one useful modification to the standard Main.cpp file that the Projucer generates for mobile platforms in general. This is to avoid showing desktop-style windows on mobile:

    //... [snip]
    class MainWindow    : public DocumentWindow
    {
    public:
        MainWindow (String name)  : DocumentWindow (name,
                                                    Colours::lightgrey,
                                                    DocumentWindow::allButtons)
        {
            setUsingNativeTitleBar (true);
            setResizable (true, false);
            setContentOwned (createMainContentComponent(), false);
            
           #if JUCE_IOS || JUCE_ANDROID
            setFullScreen (true);
           #else
            centreWithSize (480, 640);
           #endif
            
            setVisible (true);
        }
        // [snip]...
2 Likes