Follow-up to the question "How can I show a single block only if the user is on iOS?".
I am using D7 and trying to show a message to iOS users that their devices of choice do not support basic upload functionality. I have a block that I would like to show only on the following path:
node/add/profile-picture if the function mymodule_is_iOS() returns TRUE.
On the block configuration screen, I can easily limit it to a given path by adding the path to Show block on specific pages. However, if I do that, I cannot select Pages on which this PHP code returns TRUE to limit it to users for which the function mymodule_is_iOS() returns true.
I found some documentation on Drupal.org here (Combining PHP visibility control with specific page visibility) but it isn't relevant to my case.
Is there a way to do this by adding another function to my custom module for the site or theme? I'm not an expert in PHP but I do have custom functions in a custom module and in my theme.