Implementation of overlay parameter in ios counterpart