iOS SDK

Capture screenshots and submit feedback from your iOS app.

Quickstart

Get your first feedback submission in under 5 minutes.

1

Install the SDK

Add the SDK via Swift Package Manager.

Swift Package Manager
https://github.com/mcpfeedback/mcpfeedback-ios.git
2

Initialize in your app

Configure the SDK in your AppDelegate.

AppDelegate.swift
import MCPFeedback

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
    func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -> Bool {
        MCPFeedback.configure(
            apiKey: "YOUR_API_KEY",
            siteKey: "YOUR_SITE_KEY"
        )
        return true
    }
}
3

Launch the feedback UI

Call show() to open the feedback form, or let users shake to report.

MCPFeedback.show()
4

Verify it works

Submit a test feedback item and check your MCPFeedback dashboard. It should appear within seconds.

The SDK also supports shake-to-report. Users can shake their device to open the feedback form.

Find your API key in Dashboard > Settings > API Keys

Configuration

ParameterTypeDefaultDescription
apiKeyStringrequiredYour MCPFeedback API key
siteKeyStringrequiredYour site identifier
shakeEnabledBooltrueEnable shake-to-report gesture
baseURLString?nilCustom API base URL (defaults to production)

API Reference

MCPFeedback.configure(...)

Configure the SDK with your API key and site key. Must be called before any other SDK methods, typically in AppDelegate.

MCPFeedback.show(from: UIViewController)

Opens the feedback capture flow from a specific view controller. Takes a screenshot and presents the feedback form modally.

MCPFeedback.show()

Opens the feedback capture flow from the top-most view controller. Convenience method that auto-detects the presenting controller.

MCPFeedback.teardown()

Clean up SDK resources. Call when feedback functionality is no longer needed.