Latest 0.1.6
License MIT
Platforms ios 8.0

CI Status

Dead simple notification message banners (appearing from bottom) for iOS.

example mov

  • No dependencies
  • Rotation support (uses autolayout)
  • Error, Warning, Success and Default types
  • Customize fonts via UIAppearance
  • No legacy code ;)

Message banner hides automatically after seconds you can define via appearance proxy (default is 3 seconds) or by user tap.

Sample Usage

#import "HMAMessageViewManager.h"
[[HMAMessageViewManager sharedManager] showMessageInController:self title:@"Oops!" subtitle:@"Did not expected this" type:HMAMessageViewTypeWarning];

For convenience you can also add simple UIViewController category class, for example

#import "UIViewController+HMAMessages.h"
#import "HMAMessageViewManager.h"

@implementation UIViewController (HMAMessages)

- (void) my_showWarningMessage:(NSString *)pTitle {
    [[HMAMessageViewManager sharedManager] showMessageInController:self title:NSLocalizedString(@"Ooops!", @"Warning title for invalid data") subtitle:pTitle type:HMAMessageViewTypeWarning];


and then just use

[myController my_showWarningMessage:@"Wrong email address"];


To customize font/font size for message title/subtitle and message auto-hide time in you app delegate (or any other place setting default appearance):

#import "HMAMessageView.h"
[[HMAMessageView appearance] setTitleFont:[UIFont boldSystemFontOfSize:12]];
[[HMAMessageView appearance] setSubtitleFont:[UIFont boldSystemFontOfSize:7]];
[[HMAMessageView appearance] setHideMessagesAfterSeconds:@4];


To run the example project, clone the repo, and run pod install from the Example directory first.


Xcode9, iOS11 SDK, supports iOS 10.0 and higher


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

pod "HMAMessageViewManager"


Jurgis Kirsakmens,


HMAMessageViewManager is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "HMAMessageViewManager",
    "version": "0.1.6",
    "summary": "Dead simple notification message banners (appearing from bottom of the view) for iOS",
    "description": "Dead simple notification message banners (appearing from bottom) for iOS. Xcode 7 and iOS9 SDK.n    * No dependenciesn    * Rotation support (uses autolayout)n    * Error, Warning, Success and Default typesn    * Customize fonts via UIAppearancenMessage banner hides automatically after seconds defined by appearance settings (default - 3 secs) or by user tap.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Jurgis Kirsakmens": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.6"
    "platforms": {
        "ios": "8.0"
    "source_files": "HMAMessageViewManager/Classes/**/*"

Pin It on Pinterest

Share This