mirror of
https://github.com/HackPlan/IQKeyboardManager.git
synced 2026-04-22 12:37:24 +08:00
Suppress deprecation warnings
This commit is contained in:
@@ -50,7 +50,10 @@
|
||||
{
|
||||
if (IQ_IS_IOS7_OR_GREATER == NO)
|
||||
{
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
[self setSegmentedControlStyle:UISegmentedControlStyleBar];
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
|
||||
[self setMomentary:YES];
|
||||
|
||||
Reference in New Issue
Block a user