The spinning custom picker is a common control used in iOS applications today and can be seen in a variety of applications, including travel, shopping and enterprise applications.
When building FireMonkey iOS applications, you can use TComboBox to display the native custom picker control at runtime. The sample below lets you pick from four different items and displays the selected item in a listbox.
procedure TCustomPickerForm.ComboBox1Change(Sender: TObject);
begin
// update the listbox item with the name of the picked item
ListBoxItem6.Text := Format(’Picked: %s’, [ComboBox1.Items[ComboBox1.ItemIndex]]);
end;
Regards,
Sarina
Learn more about Delphi for iOS by visiting http://embt.co/RADStudioiOS