Smart Code Components » iOS Segmented Control » 3. Initially Selected Index

3. 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.