How to usage Segmented and Switch(iOS)