Per building code, all foam plastic, such as spray polyurethane foam, must separated from the interior of a building by an approved thermal barrier such as 1/2" gypsum wallboard. From your question, it seems like the area where the spray foam is installed is an occupied space. If it is an attic, then there is an exception where an ignition barrier can be installed instead.
It's not a matter of what can stick, but what is required to be used over the foam per code. You should contact the foam applicator that installed the foam or the manufacturer of the foam for advice.
Jason M. Hoerter, P.E.