Can we use UIPicker directly in the iPad app?

Can I use UIPicker directly in the iPad app? I tried to show Pickerview. But I felt very small in size compared to the iPad. I also could not increase its height and width.

+3
source share
2 answers

I found the following lines in the Guides for iPad iPad ...

Introduce a date or time picker or picker only within a popover. This placement is different from the placement recommendation for the iPhone app.

Since Apple offers a good introduction to Picker in a popover, and not in a simple way.

+3
source

, iPad-. , . , , initWithFrame :

UIPickerView *pv = [[UIPickerView alloc] initWithFrame: CGRectMake(0,0,width,height)];
+1

Source: https://habr.com/ru/post/1757069/


All Articles