Can iOS Block my app for Limit Funcionality?

Hi all

I have a question about how iOS works, I have an application in the App Store, I need to block functionality if the user does not have the latest version installed.

Does anybody know if there is a problem when it comes to blocking / banning the application due to this issue?

From already thank you very much
Regards