add function ios style indicator.