My code works great when testing on any iPhone simulator X and 11 but whenever I try to launch on the iPad pro (12.9 inches) 3rd generation the dropdown button is not showing
Has Any seen this before
Code Block button = dropDownButton.init(frame: CGRect(x: 0, y: 0, width: 0, height: 0)) button.setTitle("Rental For".localized, for: .normal) button.setTitleColor(.black, for: .normal) button.dropView.delegate = self button.dropView.layer.cornerRadius = 10 button.dropView.layer.masksToBounds = true self.view.addSubview(button) //button Constraints button.centerXAnchor.constraint(equalTo: self.view.centerXAnchor).isActive = true button.topAnchor.constraint(equalTo: self.collectionViewController.bottomAnchor, constant:10).isActive = true button.widthAnchor.constraint(equalToConstant: 200).isActive = true button.heightAnchor.constraint(equalToConstant: 40).isActive = true button.layer.cornerRadius = 10 button.clipsToBounds = true button.translatesAutoresizingMaskIntoConstraints = false button.dropView.dropDownOptions = ["Work".localized,"Out".localized,"Casual".localized, "Party".localized, "Wedding".localized]
Has Any seen this before