UISegmentedControl是一个用来切换场景的分段控件,继承自UIControl类。用户在使用这个控件时,每次只能选中一个分段,这是UISegmentedControl的特点。(https://www.daowen.com)