iOSUISwitch


Syntax

  • (instancetype)initWithFrame:(CGRect)frame;
  • (void)setOn:(BOOL)on animated:(BOOL)animated;
  • (nullable instancetype)initWithCoder:(NSCoder *)aDecoder;

Remarks

1. UISwitch Reference : Apple Documentation

enter image description here

2. Another Reference given by : Enoch Huang

enter image description here