-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
In AppleWatchFirstChallengeViewController.h
@property (strong, nonatomic) NSNumber *cvvCode;In AppleWatchFirstChallengeViewController.m
-(IBAction)testButtonTapped:(id)sender
{
NSString *keyword = self.cvvCode; //assigning an NSNumber* to an NSString* won't end well ;)
if ([keyword isEqualToString:userInput]) { //crash! (unrecognized selector)"DamnVulnerableIOSApp[53627]: -[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x15da9660"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels