Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code>actionSheet = [[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil]; actionSheet.actionSheetStyle = UIActionSheetStyleBlackOpaque; picker = [[UIPickerView alloc] initWithFrame:CGRectMake(0,40, 320, 216)]; picker.showsSelectionIndicator=YES; picker.dataSource = self; picker.delegate = self; picker.tag=SelectedDropDown; [actionSheet addSubview:picker]; UIToolbar *tools=[[UIToolbar alloc]initWithFrame:CGRectMake(0, 0,320,40)]; tools.barStyle=UIBarStyleBlackOpaque; [actionSheet addSubview:tools]; [tools release]; UIBarButtonItem *doneButton=[[UIBarButtonItem alloc]initWithTitle:@"Done" style:UIBarButtonItemStyleBordered target:self action:@selector(btnActinDoneClicked)]; doneButton.imageInsets=UIEdgeInsetsMake(200, 6, 50, 25); UIBarButtonItem *flexSpace= [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil]; NSArray *array = [[NSArray alloc]initWithObjects:flexSpace,doneButton,nil]; [tools setItems:array]; [doneButton release]; [flexSpace release]; //picker title UILabel *lblPickerTitle=[[UILabel alloc]initWithFrame:CGRectMake(60,8, 200, 25)]; lblPickerTitle.text=@""; lblPickerTitle.backgroundColor=[UIColor clearColor]; lblPickerTitle.textColor=[UIColor whiteColor]; lblPickerTitle.textAlignment=NSTextAlignmentCenter; lblPickerTitle.font=[UIFont boldSystemFontOfSize:15]; [tools addSubview:lblPickerTitle]; [actionSheet showFromRect:CGRectMake(0,480, 320,215) inView:self.view animated:YES]; [actionSheet setBounds:CGRectMake(0,0, 320, 411)]; [actionSheet release]; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload