Add UIPickerView in UIActionSheet from IOS 8 not working

前端 未结 6 2089
时光说笑
时光说笑 2020-11-30 23:37

I am adding UIPickerView to UIActionsheet but its working perfectally in ios 7 but not working in ios 8. Please help me t

6条回答
  •  眼角桃花
    2020-12-01 00:10

    Try this when presenting UIActionSheet in last 2 lines:

    [actionSheet showFromRect:CGRectMake(0,480, 320,215) inView:self.view animated:YES];
    [actionSheet setBounds:CGRectMake(0,0,320, 464)];
    

提交回复
热议问题