Skip to content

A UIViewController subclass which display full screen with transparency

License

Notifications You must be signed in to change notification settings

sjc/SJCOverlayViewController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SJCOverlayViewController

A UIViewController subclass which display full screen with transparency. All the necessary behaviour is encapsulated, so all you need to do is subclass it, set its root view's background colour to something transparent, and then present it as normal.

The appearance and disappearance animations can be replaced by subclassing SJCAnimatedTransitioning and overriding the view controller's -animatedTransitioningClass method to return the class of your subclass. An example subclass which fakes iOS-like blurring is included, and the example Xcode project shows how easily it can be used.

About

A UIViewController subclass which display full screen with transparency

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published