Skip to content
Add the missing network activity indicator on iPhone X
Branch: master
Clone or download
Ortwin Gentz
Ortwin Gentz Bumped version to 1.2
Latest commit e8c86d4 Apr 25, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example Update to Swift 5.0. Apr 24, 2019
FTLinearActivityIndicator Ignore iPad. Nov 6, 2018
.gitignore Initial commit Jan 3, 2018
.travis.yml Run pod install before_script. Apr 24, 2019
FTLinearActivityIndicator.podspec Bumped version to 1.2 Apr 25, 2019
LICENSE Initial commit Jan 3, 2018 Fixed README Sep 21, 2018
_Pods.xcodeproj Initial commit Jan 3, 2018


Version License Platform Twitter

iPhone X, XS, and XR don't display the network activity indicator anymore. This framework brings it back by placing an activity indicator in the upper right of the screen on top of the regular status bar items.

Since a circular indicator wouldn't fit, a rectangular KITT scanner-like indicator with a gradient is shown. The indicator UI can be used standalone or as a "fix" for the iOS network activity indicator (using the existing API).


As a fix for the system network activity indicator

In your app delegate's didFinishLaunching method, after initializing the window, just call


Then, use the standard network activity indicator as usual.

As a standalone view

Include a FTLinearActivityIndicator view in your storyboard or instantiate it from code. The class supports the following methods and properties, using a similar API as the iOS UIActivityIndicatorView:

  • startAnimating()
  • stopAnimating()
  • isAnimating: Bool
  • hidesWhenStopped: Bool

tintColor is supported to colorize the indicator gradient.


To open an example project, just call pod try FTLinearActivityIndicator on the command line.


Written in Swift 4.2. Should run under any iOS (obviously, the iPhone X requires iOS 11 or higher).


FTLinearActivityIndicator is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'FTLinearActivityIndicator'

If you need to use Swift 4.0, please use the swift-4.0 branch:

pod 'FTLinearActivityIndicator', :git => '', :branch => 'swift-4.0'


Ortwin Gentz, FutureTap GmbH, Twitter: @ortwingentz


FTLinearActivityIndicator is available under the CC-BY-SA 4.0 license. You may copy and redistribute, adapt and build upon the framework for any purpose, even commercially, as long as you give credit to me in the About menu or a similar place in the app.

You can’t perform that action at this time.