I have two controller A and B
In B, I have a UISwitch IBOutlet.
when I use Segue from A,
switch.on = YES
does not work.
If I declare another property in B , say switchvalue,
@property (strong, nonatomic) NSNumber* switchvalue;
I can pass the value to switchvalue.
Anyone has some clue? It is tedious that I cannot set property directly on controls.