Evernote / evernote-sdk-ios

Evernote SDK for iOS
Other
398 stars 130 forks source link

Bootstrapping for production service #76

Closed waterzhang0423 closed 11 years ago

waterzhang0423 commented 11 years ago
  1. NSString *EVERNOTE_HOST = BootstrapServerBaseURLStringUS;
  2. NSString *EVERNOTE_HOST = BootstrapServerBaseURLStringCN;

How to use both US and CN service?

mustafa commented 11 years ago

All you need to do is make sure your consumer key is activated for both. Once that is done, the SDK will handle bootstrapping automatically based on locale and other things. For production, you can set it to BootstrapServerBaseURLStringUS or BootstrapServerBaseURLStringCN. More on bootstrapping here.

waterzhang0423 commented 11 years ago

thanks.