修改了iOS开关demo

Signed-off-by: mdjhny <yfx8899@gmail.com>