title: Determine if app's iOS 14 widget is placed on the home screen - Swift
body: <p>Is there a way to determine if and how many of your app's widgets are being used by the user?</p>
  <p>I tried using</p>
  <pre><code>WidgetCenter.shared.getCurrentConfigurations { result in
      switch result {
          case let .success(info):
              let myWidgetCount = info.count
              print(myWidgetCount)
          case let .failure(error): print(error)
      }
  }
  </code></pre>
  <p>but it's way off. It's giving me way more than it should.</p>
  <p>Edit: it's including all of the ones I added and later removed as well. Is there a way to get only the ones that are currently placed on their home screen or the widget section?</p>