[DF-2671] MacOS and IOS changes. Changed the name of method.