In the gold challenge, we need to call CGContextRestoreGState for clearing the clipping path and drop shadow. When I try to do this, though, the app crashes with this message:
Application windows are expected to have a root view controller at the end of application launch
It runs fine if I don’t call that method. Just curious what I am supposed to set as the root view controller when the base app we built during the chapter doesn’t have one.