You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PVSwitch.PVSwitch setThumbTintColor:]: unrecognized selector sent to instance 0x10678d730'
I try to add PVSwitch with pod
Then create programmatically and try to add navigation bar..
switchByCode = PVSwitch()
switchByCode!.addTarget(self, action: #selector(viewModeSwitchChanged(_:)), for: .valueChanged)
let switch_display = UIBarButtonItem(customView: switchByCode!)
navigationItem.rightBarButtonItem = switch_display
I got error.
The text was updated successfully, but these errors were encountered:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[PVSwitch.PVSwitch setThumbTintColor:]: unrecognized selector sent to instance 0x10678d730'
I try to add PVSwitch with pod
Then create programmatically and try to add navigation bar..
switchByCode = PVSwitch()
switchByCode!.addTarget(self, action: #selector(viewModeSwitchChanged(_:)), for: .valueChanged)
let switch_display = UIBarButtonItem(customView: switchByCode!)
navigationItem.rightBarButtonItem = switch_display
I got error.
The text was updated successfully, but these errors were encountered: