Awesome
RRColorAverageBanner
Allows you to add a banner to your images to display content or explanations. It goes very well with the image, since it uses the average of all pixels of the image color.
The banner is a UIView containing a UILabel, but can theoretically do what you want!
Overview
Usage
- (void) displayPicture {
UIImageView *v1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"1"]];
v1.frame = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.width);
[v1 addBannerImage];
[v1 getBannerView].textBanner.text = @"content text";
[self.view addSubView:v1];
}
Installation
RRColorAverageBanner is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "RRColorAverageBanner"
Author
remirobert, remi.robert@epitech.eu
License
RRColorAverageBanner is available under the MIT license. See the LICENSE file for more info.