SDK (Archived)
iOS SDK FAQ
Common questions and answers for integrating and using the Pgyer iOS SDK.
The Pgyer SDK is no longer maintained. For new integrations, use the Pgyer API directly. This page is kept for projects that already integrated the SDK.
This page collects common questions when using the Pgyer iOS SDK.
Integration
Is CocoaPods supported?
Yes.
pod 'Pgyer'Does it support Swift projects?
Yes. Create a bridging header and import in it:
#import <PgySDK/PgyManager.h>You can then call from Swift:
PgyManager.sharedPgyManager().startManagerWithAppId(PGY_APP_ID);Does it support Cocos2d / Unity3D projects?
Both are supported.
Other
Shake-to-feedback crashes when tapping the record button on iOS 10+
Starting from iOS 10 you must declare Privacy - Microphone Usage Description in Info.plist. See iOS 10 changes in asking permissions.