我的应用程序花了太多时间从Splash屏幕移动到主页。是否可以减少加载时间?在我的主页上,我只创建了一个按钮。 [PayPalMobile initializeWithClientIdsForEnvironments:@ {PayPalEnvironmentProduction:@“YOUR_CLIENT_ID_FOR_PRODUCTION”, PayPalEnvironmentSandbox:@“AWAT3hD5dVL6gsNSUgIL9tY0geyGoa_Hmg81H7rgi3yKCO6sneWCyubqV4Wd”}]; //在应用程序启动后覆盖自定义点。 [FBLoginView类];
/* Google Anayltics */
// Optional: automatically send uncaught exceptions to Google Analytics.
[GAI sharedInstance].trackUncaughtExceptions = YES;
// Optional: set Google Analytics dispatch interval to e.g. 20 seconds.
[GAI sharedInstance].dispatchInterval = 20;
// Optional: set Logger to VERBOSE for debug information.
[[[GAI sharedInstance] logger] setLogLevel:kGAILogLevelVerbose];
// Initialize tracker. Replace with your tracking ID.
[[GAI sharedInstance] trackerWithTrackingId:@"UA-52277802-1"];
// Register for Push Notitications, if running iOS 8
if ([application respondsToSelector:@selector(registerUserNotificationSettings:)]) {
UIUserNotificationType userNotificationTypes = (UIUserNotificationTypeAlert |
UIUserNotificationTypeBadge |
UIUserNotificationTypeSound);
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:userNotificationTypes
categories:nil];
[application registerUserNotificationSettings:settings];
[application registerForRemoteNotifications];
} else {
// Register for Push Notifications before iOS 8
[application registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge |
UIRemoteNotificationTypeAlert |
UIRemoteNotificationTypeSound)];
}