Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPad problem #338

Closed
canaksoy opened this issue Apr 10, 2017 · 1 comment
Closed

iPad problem #338

canaksoy opened this issue Apr 10, 2017 · 1 comment

Comments

@canaksoy
Copy link

<_UIPopoverBackgroundVisualEffectView 0x7f9a35465b20> is being asked to animate its opacity. This will cause the effect to appear broken until opacity returns to 1.

textField.resignFirstResponder()
let datePicker = ActionSheetDatePicker(title: "Date", datePickerMode: UIDatePickerMode.date, selectedDate: Date(), doneBlock: {
picker, value, index in

            let dateFormatter = DateFormatter()
            dateFormatter.locale = Locale(identifier: "en_US_POSIX")
            dateFormatter.dateFormat = "YYYY-MM-dd"
            
            self.birthday.text = dateFormatter.string(from: value as! Date)
            return
        }, cancel: { ActionStringCancelBlock in return }, origin: textField.superview!.superview)
        datePicker?.show()
@canaksoy
Copy link
Author

origin: self.birthday

solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant