I have a Xamarin.Forms app on iOS and am using UITest to test some things.
I am trying to get a text presentation of the value that is chosen in a Date and DateTime spinner in iOS.
As an example, I want to know it is "April" that is the choice for Month.
I can use selectedRowInComponent as shown below to find the index for the row in the column in the UIPickerView but I want the text displayed for that row.
app.Query(x=>x.Class("UIPickerView").Invoke("selectedRowInComponent", 0))