Upvote:-1

@property (strong, nonatomic) IBOutlet UISwitch *switch_displayDetail; // should be a weak property

Credit Goes to: stackoverflow.com

Related question with same questions but different answers