In WYPopoverController.m, drawRect:
CGRect innerRect = CGRectMake(CGRectGetMinX(rect), CGRectGetMinY(rect) + barHeight, CGRectGetWidth(rect) , CGRectGetHeight(rect) - barHeight);
If innerRect.size.width or innerRect.size.height is 0, the code crashes when creating UIBeizerPath
UIBezierPath* inRoundedRectPath = [UIBezierPath bezierPathWithRoundedRect:CGRectInset(innerRect, 0.5, 0.5) cornerRadius:cornerRadius];
This happens to me only when testing the code in iOS8 + iPhone 6+.
In WYPopoverController.m,
drawRect:If innerRect.size.width or innerRect.size.height is
0, the code crashes when creatingUIBeizerPathThis happens to me only when testing the code in iOS8 + iPhone 6+.