Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 620 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 620 Bytes

SegmentedControlUpdates

A sample app to demonstrate the new UIAction-based initializer API for UISegmentedControl available in iOS 14.

The target actions view controller contains a segmented control configured with a String array initializer and a target-action with a selector.

The actions view controller containes an identical segmented control that has been configured with an array of UIActions.

For more details about this demo app please read the accompanying blog post on my site.