Skip to content

Commit

Permalink
Merge pull request #161 from BlinkID/feature/ios-uisettings
Browse files Browse the repository at this point in the history
Add additional UI customization settings for BlinkID overlay
  • Loading branch information
mparadina authored Sep 21, 2023
2 parents 8993f7e + 3ebb7b4 commit d8ee776
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,27 @@ -(MBOverlayViewController *) createOverlayViewController:(NSDictionary *)jsonOve
sett.errorMandatoryFieldMissing = (NSString *)errorMandatoryFieldMissing;
}
}

{
id showOnboardingInfo = [jsonOverlaySettings valueForKey:@"showOnboardingInfo"];
if (showOnboardingInfo != nil) {
sett.showOnboardingInfo = [showOnboardingInfo boolValue];
}
}

{
id showIntroductionDialog = [jsonOverlaySettings valueForKey:@"showIntroductionDialog"];
if (showIntroductionDialog != nil) {
sett.showIntroductionDialog = [showIntroductionDialog boolValue];
}
}

{
id onboardingButtonTooltipDelay = [jsonOverlaySettings valueForKey:@"onboardingButtonTooltipDelay"];
if (onboardingButtonTooltipDelay != nil) {
sett.onboardingButtonTooltipDelay = [onboardingButtonTooltipDelay doubleValue] / 10000.0;
}
}

return [[MBBlinkIdOverlayViewController alloc] initWithSettings:sett recognizerCollection:recognizerCollection delegate:self];
}
Expand Down

0 comments on commit d8ee776

Please sign in to comment.