ios Support
This commit is contained in:
1 parent
a5fe6cc80b
commit
da8bcdd2dd
3 files changed
+15
No files matched your search
@@ -15,4 +15,6 @@ double screenScale();
|
||||
|
||||
void showLoadingIndicator();
|
||||
void hideLoadingIndicator();
|
||||
|
||||
void hapticFeedback();
|
||||
}
|
||||
@@ -43,4 +43,11 @@ void hideLoadingIndicator()
|
||||
[indicator removeFromSuperview];
|
||||
indicator = nil;
|
||||
}
|
||||
|
||||
void hapticFeedback()
|
||||
{
|
||||
UIImpactFeedbackGenerator *hapticGen = [[UIImpactFeedbackGenerator alloc] initWithStyle:(UIImpactFeedbackStyleLight)];
|
||||
[hapticGen impactOccurred];
|
||||
hapticGen = NULL;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user