mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
fix build
This commit is contained in:
parent
dc06ac83e4
commit
fce3487e8a
1 changed files with 8 additions and 0 deletions
|
|
@ -62,7 +62,11 @@
|
|||
else {
|
||||
CAAnimationDelegate *delegate = [[CAAnimationDelegate alloc] init];
|
||||
delegate.completion = completion;
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_10_0
|
||||
self.delegate = delegate;
|
||||
#else
|
||||
self.delegate = (id<CAAnimationDelegate>)delegate;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -79,7 +83,11 @@
|
|||
else {
|
||||
CAAnimationDelegate *delegate = [[CAAnimationDelegate alloc] init];
|
||||
delegate.start = start;
|
||||
#if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_10_0
|
||||
self.delegate = delegate;
|
||||
#else
|
||||
self.delegate = (id<CAAnimationDelegate>)delegate;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue