Split funtions for iOS
Revert "Split funtions for iOS"

This reverts commit 35d9c0387033df1e268feb1d8e3b76f099e3ec79.
Split function for iOS