Nudges - Handling Invisible Containers

If there is an invisible container, please follow the below steps for Product Experience SDK to ignore that container:

Add below code snippet to the layer of the transparent view that you want Product Experience SDK to ignore and set value as “true” for the key named “hansel_ignore_view”

🚧

Important: This feature is available only from iOS Nudge SDK v8.5.23 onwards

[viewToBeIgnored.layer setValue:@"true" forKey:@"hansel_ignore_view"];
viewToBeIgnored.layer.setValue(true, forKey: "hansel_ignore_view”);

Did this page help you?