- download iOS SDK
- unzip
UMFeedback_iOS_2.1.zip - drag
UMengFeedback_SDK_2.1into file navigator andcopy items if needed - in
Build PhasesinLink Binary With Libraries- add
AVFoundation.framework
- add
-
in
AppDelegate.swift-
find
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { -
add
UMFeedback.setAppkey(appKey)
-
- present feedbackViewController
self.presentViewController(UMFeedback.feedbackViewController(), animated: true){ () -> Void in }