iFuga 1.1

iFuga 1.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total374
Week0
Month0

Installs

Apps29
powered by Segment

GitHub

Stars31
Watchers2
Forks2
Issues0
Contributors1
Pull Requests0

Code

Files4
LOCLines of Code 530


iFuga 1.1

  • By
  • Sergey Gavrilyuk

iOS component for displaying a fullscreen image gallery Supports orientation changes

Usage

To be able to show a fullscreen presentation of image from inside your viewController you should have an instance of FGController. Creating an instance is pretty straightforward:

_fgController = [[FGController alloc] initWithDelegate:self];

Next, in an method catching user's action or whereever you want to show a fullscreen image, call either

[_fgController showImage:desiredImage];

or

[_fgController showImage:desiredImage fromThumbnail:self.imageView];

By default, iFuga supports all interface orientations regardless whether calling viewController suports them or not. To restrict iFuga to turn to certain orientation, implement it's delegate method canRotateToInterfaceOrientation: as desired, for example:

-(BOOL)canRotateToInterfaceOrientation:(UIInterfaceOrientation)orientation
{
    return UIInterfaceOrientationIsPortrait(orientation);
}

Contact

iFuga was created by @gavrix.
Also, please drop by my blog

License

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