0

I am using Xcode 8.3.3 and need to use iOS 8.0 for some feature integration. But I am getting a warning in Xcode 8.3.3 as Disabling segue animation is not available prior to iOS 9.0. I want to remove this warning.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
  • Duplicates https://stackoverflow.com/q/33147271/1986600. Please see the answers inside, any of first two will fit your needs. – Krin-San Jul 10 '17 at 08:40
  • 1
    Possible duplicate of [Disabling segue animation](https://stackoverflow.com/questions/33147271/disabling-segue-animation) – Sebastian Jul 10 '17 at 08:41
  • What's the development target of your project? – Bilal Jul 10 '17 at 09:27

4 Answers4

0

UIView.setAnimationsEnabled(false) self.performSegueWithIdentifier("next", sender: nil) UIView.setAnimationsEnabled(true)

Mennan
  • 4,451
  • 13
  • 54
  • 86
  • I want to remove this warning from Xcode . And in Xcode 8.3.3 , getting error as 'Property 'setAnimationsEnabled' not found of type UIView'. Kindly suggest. –  Jul 10 '17 at 09:17
0

Try this

 UIView.setAnimationsEnabled(false)
 self.performSegueWithIdentifier("goToVC", sender: nil)
 UIView.setAnimationsEnabled(true)
Vignesh Davins
  • 285
  • 1
  • 13
  • I want to remove this warning from Xcode . And in Xcode 8.3.3 , getting error as 'Property 'setAnimationsEnabled' not found of type UIView'. Kindly suggest. –  Jul 10 '17 at 09:17
  • Ok.Then try this `In the properties panel for your storyboard, set the 'builds for' drop down to a value of 9.0 or later` – Vignesh Davins Jul 10 '17 at 09:35
0

To disable that warning, Go to properties panel in your storyboard, and there you can see option builds for drop down. Now change this value to 9.0 or later. Below is the picture that shows properties panel

enter image description here

Sivajee Battina
  • 4,124
  • 2
  • 22
  • 45
0

I guess you want to suppress this warning. I tried this. Just modify the property in Attributes inspector of the segue which is causing the problem for you and then select the animates check mark. select

Prabhu.Somasundaram
  • 1,380
  • 10
  • 13