BottomSheetController
UIKit component containing supplementary content that are anchored to the bottom of the screen.
- iOS 11.0+
- Swift 5.0+
Add package repository with URL https://github.com/naru-jpn/BottomSheetController.
You can embed your custom ViewController or View as supplementary content.
View of ViewController or View must be decided frame height by content contained itself.
let yourCustomViewController = ...
let bottomSheetController = BottomSheetController(contentViewController: yourCustomViewController)
present(bottomSheetController, animated: true)let yourCustomView = ...
let bottomSheetController = BottomSheetController(contentView: yourCustomView)
present(bottomSheetController, animated: true)BottomSheetController is released under the MIT license. See LICENSE for details.
