How can i change Uipickerview position?
问题 This is the storyboard I create a picker view like that ; pickerView = UIPickerView() pickerView.center = view.center view.addSubview(pickerView) pickerView.dataSource = self pickerView.delegate = self When i run the app picker view show up like that . But i want the change position pickerview.How can i do that ? 回答1: If you add something programmatically(calling addSubView:) you have to do autolayout programmatically in order to position your view in correct order. There are lots of