Smart Code Components » iOS Segmented Control » C – Initially Selected Index

C – Initially Selected Index

We want to be able to set which segment is selected when the component appears. We already have the properties in place to select a segment by number or by name: props.currentIndex — the number of the segment props.currentOption — the name of the segment … and there’s a third property to pick which one […]
To access this page, you must purchase The Framer book.