Suppress deprecation warnings

This commit is contained in:
hackiftekhar
2015-04-20 17:16:28 +05:30
parent b02b9e219b
commit 459bb33405

View File

@@ -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];