Class
Objective-C

ZingApplicationDelegate

#import <ZingEngine/ZingEngine.h>
@interface ZingApplicationDelegate : UIResponder <UIApplicationDelegate>

A UIApplicationDelegate implementation for use in Zing iOS applications.

ZingApplicationDelegate is required for some Zing functionality to work. Specifically, it is currently required for WebDialog.applicationUrlScheme and ScrollView.scrollsToTop. As this list may grow over time, we recommend you use ZingApplicationDelegate even if you don't use these festures.

To enable ZingApplicationDelegate, replace your app's existing app delegate declaration, which will look similar to this

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@end

with this

#include <ZingEngine/ZingEngine.h>

@interface AppDelegate : ZingApplicationDelegate

@end