0

I found a header design issue in ActionSheetStringPicker with UIBarButtonItem. How to solve this?

Screenshot:

enter image description here

Code:

func openFilter(sender: UIBarButtonItem) {
    let arr:NSArray = sortingArray as NSArray
    ActionSheetStringPicker.show(withTitle: "Filter Data", rows: arr as [AnyObject], initialSelection: filterPosition, doneBlock: {
        picker, value, index in
        self.filterPosition = value
        self.selectedPos = -1
        self.filterData()
        self.tableViewMain.setContentOffset(.zero, animated:true)
    }, cancel: { ActionStringCancelBlock in return }, origin: sender)
}
Sagar Zala
  • 4,854
  • 9
  • 34
  • 62
  • 1
    What is `ActionSheetStringPicker`? If it is a library you are using, you should probably contact the author of that. – Sweeper Aug 05 '23 at 06:57
  • I’m voting to close this question because SO is not a place to submit bug reports for 3rd party libraries. Please submit this on the 3rd party library's website. – HangarRash Aug 05 '23 at 17:20

0 Answers0