bcylin / QuickTableViewController

A simple way to create a UITableView for settings in Swift.

Home Page:https://bcylin.github.io/QuickTableViewController

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch

DK3369 opened this issue · comments

how to change Switch frame and color

` #if os(iOS)

/// A UISwitch as the accessoryView. Not available on tvOS.
@available(tvOS, unavailable, message: "switchControl is not available on tvOS.")
public private(set) lazy var switchControl: UISwitch = {
let control = UISwitch()
control.addTarget(self, action: #selector(SwitchCell.didToggleSwitch(_:)), for: .valueChanged)
return control
}()

#endif
`

how to change switchControl tintColor onTintColor frame ?

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.