You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My app is crashing while loading mail body, it shows me BAD_ACCESS on [self sendActionsForControlEvents:TITokenFieldControlEventFrameDidChange]; this line, tried to search solution on google but didn't found any solution.
(void)layoutTokensAnimated:(BOOL)animated {
CGFloat newHeight = [self layoutTokensInternal];
if (self.bounds.size.height != newHeight){
// Animating this seems to invoke the triple-tap-delete-key-loop-problem-thing™
[UIView animateWithDuration:(animated ? 0.3 : 0) animations:^{
[self setFrame:((CGRect){self.frame.origin, {self.bounds.size.width, newHeight}})];
[self sendActionsForControlEvents:TITokenFieldControlEventFrameWillChange];
My app is crashing while loading mail body, it shows me BAD_ACCESS on [self sendActionsForControlEvents:TITokenFieldControlEventFrameDidChange]; this line, tried to search solution on google but didn't found any solution.
(void)layoutTokensAnimated:(BOOL)animated {
CGFloat newHeight = [self layoutTokensInternal];
if (self.bounds.size.height != newHeight){
// Animating this seems to invoke the triple-tap-delete-key-loop-problem-thing™
[UIView animateWithDuration:(animated ? 0.3 : 0) animations:^{
[self setFrame:((CGRect){self.frame.origin, {self.bounds.size.width, newHeight}})];
[self sendActionsForControlEvents:TITokenFieldControlEventFrameWillChange];
} completion:^(BOOL complete){
if (complete)
{
[self sendActionsForControlEvents:TITokenFieldControlEventFrameDidChange];
}
}];
}
}
The text was updated successfully, but these errors were encountered: