-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
In a previous version, the text of the cancel button label would follow whatever color was set as promptColor, now it is always white, which is a problem when using a white background. Sample code:
THPinViewController *pinViewController = [[THPinViewController alloc] initWithDelegate:self];
pinViewController.disableCancel = NO;
pinViewController.promptTitle = title;
UIColor *darkBlueColor = [UIColor colorWithRed:0.012f green:0.071f blue:0.365f alpha:1.0f];
pinViewController.promptColor = darkBlueColor;
pinViewController.view.tintColor = darkBlueColor;
pinViewController.backgroundColor = [UIColor whiteColor];
[self presentViewController:pinViewController animated:animated completion:nil];
//cancel button not visible
Metadata
Metadata
Assignees
Labels
No labels