Drop down list ios swift
问题 I want to have a small UItableView that popup when clicked and shows some numbers in the list. I tried to use popoverPresentationController but it appears full screen for iOS(iPhone) devices. below is the code for same - let filterVC = TableViewController(nibName: "TableViewController", bundle: nil) filterVC.preferredContentSize = CGSize(width: 300, height: 200) filterVC.modalPresentationStyle = UIModalPresentationStyle.popover present(filterVC, animated: true, completion: nil) let