ClipShare SDK Docs
  • Welcome!
  • MOBILE SDK
    • Android
      • Installation
      • Initialization
      • Sharing Clips
      • Customization
      • API Documentation
    • iOS
      • Installation
      • Initialization
      • Sharing Clips
      • Customization
      • API Documentation
  • WEB SDK
    • JavaScript
      • Installation
      • Access Token Handling
      • Sharing Clips
      • Customization
      • Implementation Errors
      • API documentation
Powered by GitBook
On this page
  • Customizing Colors
  • Customizing Fonts
  • Customizing Snap UI
  1. MOBILE SDK
  2. iOS

Customization

Customizing displayed messages, colors and fonts.

Customizing Colors

To customize colors in ClipShareViewController, use the ClipShareUIColorConfiguration object on the ClipShare instance.

ClipShare.instance?.colorConfiguration.primaryContentBackground = UIColor.white

Customizing Fonts

To customize fonts in ClipShareViewController, use the ClipShareUIFontConfiguration object on the ClipShare instance.

ClipShare.instance?.fontConfiguration.baseRegular = UIFont.systemFont(ofSize: 14, weight: .regular)

Customizing Snap UI

To customize displayed messages in the ClipShareViewController use the ClipShareUIConfiguration object on the ClipShare instance.

ClipShare.instance?.uiConfiguration.saveClipButtonText = "Create my clip"

All desired customizations must be done prior to presenting the ClipShareViewController. While it is also possible to modify the configuration between presentations of the ClipShareViewController, modifications initiated while the ClipShareViewController is present are not guaranteed to be respected.

PreviousSharing ClipsNextJavaScript

Last updated 2 years ago