Skip to content
Simple pinch-zoom category for UITextView
Objective-C Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
UITextView+PinchZoom.h
UITextView+PinchZoom.m
UITextView+PinchZoom.podspec

README.md

UITextView+PinchZoom

Simple pinch-zoom category for UITextView.

Code works with and without ARC.

Library can be added to a project using CocoaPods.

Usage:

#import "UITextView+PinchZoom.h"

//...

UITextView *textView = [[UITextView alloc] initWithFrame:self.view.frame];
[self.view addSubview:textView];
textView.zoomEnabled = YES;
textView.minFontSize = 10;
textView.maxFontSize = 40;
You can’t perform that action at this time.