Skip to content

KONDENSATOR/SlidingInfoView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Sliding Info View

Slides in a view from underneath resizing the main view. The info view will stay up for a certain time and then slide down, restoring the main view to the original state.

Usage

At start up, tell which view to operate in and what subview index to steal space from. If root view is a NavigationView this works:

[[SlidingInfoView sharedSlidingInfoView] setHostView:self.window.rootViewController.view onSubView:0];

To display info for two seconds:

[[SlidingInfoView sharedSlidingInfoView] displayInfo:@"Hello!" for:2];

It works with screen rotation as well.

About

A simple IOS class for an info view sliding in from below.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published