Skip to content

Commit b2eb06e

Browse files
committed
fix: Nullability in SentrySwizzleWrapperHelper
1 parent 98e0ee8 commit b2eb06e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
- Add attributes data to `SentryScope` (#6830)
88
- Add `SentryScope` attributes into log messages (#6834)
99

10+
### Fixes
11+
12+
- Fixes crash when null values are passed to `UIApplication sendAction:to:from:forEvent:` (#6970)
13+
1014
## 9.0.0
1115

1216
This changelog lists every breaking change. For a high-level overview and upgrade guidance, see the [migration guide](https://docs.sentry.io/platforms/apple/migration/).

Sources/Sentry/include/SentrySwizzleWrapperHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ NS_ASSUME_NONNULL_BEGIN
88

99
@interface SentrySwizzleWrapperHelper : NSObject
1010

11-
+ (void)swizzle:(void (^)(SEL action, id target, id sender, UIEvent *event))callback;
11+
+ (void)swizzle:(void (^)(SEL action, _Nullable id target, _Nullable id sender, UIEvent * _Nullable event))callback;
1212

1313
@end
1414

0 commit comments

Comments
 (0)