Skip to content

cokaholic/TapticSampler

Repository files navigation

TapticSampler

Code examples of using UIFeedBackGenerator.

Contents

Platform License Swift

  • You can try sample of UIKit modules including UIFeedBackGenerator
  • You can try sample of UIFeedBackGenerator
  • Support Swift4

TopViewController

Sample of UIKit Modules Including UIFeedBackGenerator

  • UIRefreshControl
    Feedback occur when you pulled down screen.

  • UISwitch
    Feedback occur when you changed switch.

  • UIPickerView
    Feedback occur when you changed picker.

  • Peek and Pop
    Feedback occur when you pressed "Peek and Pop" cell strongly.

  • UIApplicationShortcutItem
    Feedback occur when you pressed this app strongly from home screen.

Sample of UIFeedBackGenerator

  • UIImpactFeedbackGenerator

    • light
    • medium
    • heavy
  • UINotificationFeedbackGenerator

    • error
    • warning
    • success
  • UISelectionFeedbackGenerator

  • Xcode 9.0+
  • Swift 4.0+
  • iOS 10.0+

Keisuke Tatsumi

iOS Application Engineer at AbemaTV Co., Ltd. CyberAgent, Inc.