alexaubry / alexaubry/BulletinBoard
BLTNItemManageranimated Crash
- 主要言語
- Swift
- スター
- 5.3k
- フォーク
- 301
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Problem Description:**
Hello we are getting crash reports, can anybody help
BLTNItemManager.swift line 629
BLTNItemManageranimated(_:)
Crashed: com.apple.main-thread
EXC_BREAKPOINT 0x00000001046dc150
**Steps to reproduce:**
I cannot reproduce it
Here is how I call it:
```
BLTNPageItem* page = [[BLTNPageItem alloc] initWithTitle:NSLocalizedString(@"Bltn", comment)];
self.bulletinManager = [[BLTNItemManager alloc] initWithRootItem:page];
self.bulletinManager.statusBarAppearance = BLTNStatusBarAppearanceAutomatic;
self.bulletinManager.backgroundViewStyle = BLTNBackgroundViewStyle.blurredLight;
page.image = [UIImage imageNamed:@"deal"];
page.descriptionText = NSLocalizedString(@"MyString", comment);
page.actionButtonTitle = NSLocalizedString(@"Invite", comment);
page.appearance.actionButtonColor = [UIColor colorWithRed:30.0/255.0 green:52.0/255.0 blue:98.0/255.0 alpha:1];
page.dismissable = YES;
page.actionHandler = ^(BLTNActionItem * _Nonnull _item) {
[[_item manager] dismissBulletinAnimated:YES];
[FIRAnalytics logEventWithName:@"myEvent" parameters:nil];
[self myMethod]
};
[self.bulletinManager showBulletinAboveViewController:self animated:YES completion:NULL];
```
**Environment:**
- iOS 12
**Crash Log**
Crashed: com.apple.main-thread
0 BLTNBoard 0x1046dc150 BLTNItemManageranimated(_:) (BLTNItemManager.swift:629)
1 BLTNBoard 0x1046e7b24 $S9BLTNBoard22BulletinViewControllerC9handleTap33_0B57E49989350585F38B5C81B87413D6LL10recognizerySo22UITapGestureRecognizerC_tFTo ()
2 UIKitCore 0x22188b088 + 64
3 UIKitCore 0x2218936a4 + 124
4 UIKitCore 0x221890f28 + 320
5 UIKitCore 0x221890410 + 764
6 UIKitCore 0x221883718 + 1096
7 UIKitCore 0x221883284 + 384
8 UIKitCore 0x221883054 + 204
9 UIKitCore 0x221caedf4 + 3128
10 UIKitCore 0x221c8e10c + 340
11 UIKit 0x215bab678 -[UIApplicationAccessibility sendEvent:] + 100
12 UIKitCore 0x221d5cf68 + 1620
13 UIKitCore 0x221d5f960 + 4740
14 UIKitCore 0x221d58450 + 152
15 CoreFoundation 0x1f48ed1f0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
16 CoreFoundation 0x1f48ed170 __CFRunLoopDoSource0 + 88
17 CoreFoundation 0x1f48eca54 __CFRunLoopDoSources0 + 176
18 CoreFoundation 0x1f48e7920 __CFRunLoopRun + 1040
19 CoreFoundation 0x1f48e71f0 CFRunLoopRunSpecific + 436
20 GraphicsServices 0x1f6b60584 GSEventRunModal + 100
21 UIKitCore 0x221c72d40 UIApplicationMain + 212
22 lookAtMe 0x1043c6684 main (main.m:14)
23 libdyld.dylib 0x1f43a6bb4 start + 4
Thank you
コントリビューションガイド
評価
この issue はまだ評価されていません。