Skip to content

Fully customizable UIToolbar with any background image and colored buttons

Notifications You must be signed in to change notification settings

oliverhk/Custom-UIToolbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Custom UIToolbar

This is fully customizable analog of UIToolbar where you can use any toolbar background, and icons of any color.

Usage

  1. Copy CustomToolbar.h and CustomToolbar.m files to your project

  2. Use the following functions:

    • (id)initWithFrame:(CGRect)frame AndBackgroundColor:(UIColor*)bgColor;

      creates toolbar of given size with custom background color

    • (void)AddToolbarItemWithImage: (UIImage*)image Target:(id)target Selector:(SEL)selector;

      adds button to toolbar

    • (void)RemoveButtonAtIndex:(int)index;

      removes button

    • (void)ButtonAtIndex:(int)index SetEnabled:(BOOL)enabled;

      enables/disables toolbar button

About

Fully customizable UIToolbar with any background image and colored buttons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%