UIApplicationBackgroundFetchIntervalNever/UIApplicationBackgroundFetchIntervalMinimum should be an enum in Swift

Originator:SaagarJha28
Number:rdar://31203736 Date Originated:22-Mar-2017 01:56 PM
Status:Open Resolved:
Product:iOS + SDK (UIKit) Product Version:iOS 10.3 [14E5265a]
Classification:Enhancement Reproducible:
 
Area:
UIKit

Summary:
UIApplicationBackgroundFetchIntervalNever/UIApplicationBackgroundFetchIntervalMinimum is currently imported as a global; it should be imported as a UIApplicationBackgroundFetchInterval enum. This would allow for the use of the .never and .minimum cases.

Steps to Reproduce:
1. Try to use UIApplicationBackgroundFetchIntervalNever/UIApplicationBackgroundFetchIntervalMinimum in an app.

Expected Results:
It's an enum

Actual Results:
It's not

Version:
iOS 10.3 [14E5265a]

Notes:


Configuration:
N/a

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!