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

PullUpController crash on iPhone6 iOS 10.3.1 #82

Open
Al-works opened this issue Dec 24, 2020 · 0 comments
Open

PullUpController crash on iPhone6 iOS 10.3.1 #82

Al-works opened this issue Dec 24, 2020 · 0 comments

Comments

@Al-works
Copy link

Al-works commented Dec 24, 2020

open func addPullUpController(_ pullUpController: PullUpController,
initialStickyPointOffset: CGFloat,
animated: Bool,
completion: ((Bool) -> Void)? = nil) {
assert(!(self is UITableViewController), "It's not possible to attach a PullUpController to a UITableViewController. Check this issue for more information: #14")
addChild(pullUpController)
pullUpController.setup(superview: view, initialStickyPointOffset: initialStickyPointOffset)
if animated {
pullUpController.pullUpControllerAnimate(
action: .add,
withDuration: 0.3,
animations: { [weak self] in
self?.view.layoutIfNeeded() // Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
},
completion: { didComplete in
pullUpController.didMove(toParent: self)
completion?(didComplete)
}
)
} else {...
please help)

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