2015-08-07 12:31:48 +02:00
..
2015-08-07 12:31:48 +02:00
2015-08-07 12:31:48 +02:00
2015-08-07 12:31:48 +02:00
2015-08-07 12:31:48 +02:00

UIView-Overlay

Plain and simple UIView category that adds overlay layer with specific color the the sublayers of the UIView.

##Requirements

  • Xcode 5 (or higher)
  • Apple LLVM compiler
  • ARC
  • iOS 6.1 (or higher)

##Installation

Recommended way to install AGToggleFieldSetView is via CocoaPods. Add the following line to your Podfile:

pod 'UIView-Overlay'

##Usage

Just call methods methods to add or remove the overlay

[view ag_addOverlayWithColor: [[UIColor blackColor] colorWithAlphaComponent: 0.3]];
[view ag_removeOverlay];