Я хочу поддержать Evernote China с их iOS SDK.
https://github.com/evernote/evernote-cloud-sdk-ios
Evernote говорит, что автоматически переключится на Evernote China с их системой начальной загрузки, но мой приведенный ниже быстрый код в AppDelegate не работает в Evernote China, что-то не так?
https://dev.evernote.com/doc/articles/bootstrap.php
// Works without China
ENSession.setSharedSessionConsumerKey(Key.Evernote.cunsumerKey,
consumerSecret: Key.Evernote.cunsumerSecret,
optionalHost: nil)
// Doesn't work anywhere
ENSession.setSharedSessionConsumerKey(Key.Evernote.cunsumerKey,
consumerSecret: Key.Evernote.cunsumerSecret,
optionalHost: ENBootstrapProfileNameInternational)
// Doesn't work anywhere
ENSession.setSharedSessionConsumerKey(Key.Evernote.cunsumerKey,
consumerSecret: Key.Evernote.cunsumerSecret,
optionalHost: ENBootstrapProfileNameChina)
// Doesn't work anywhere
ENSession.setSharedSessionConsumerKey(Key.Evernote.cunsumerKey,
consumerSecret: Key.Evernote.cunsumerSecret,
optionalHost: "www.evernote.com")