Need help with TYSnapshotScroll?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

TonyReet
711 Stars 91 Forks MIT License 164 Commits 8 Opened issues

Description

一句代码保存截图,将 UIScrollView UITableView UICollectionView UIWebView WKWebView 网页 保存 为 长图 查看。Save the scroll view page as an image,support UIScrollView,UITableView,UICollectionView,UIWebView,WKWebView.(Support iOS13)

Services available

!
?

Need anything else?

Contributors list

# 82,905
Objecti...
C
uiwebvi...
wkwebvi...
113 commits
# 136,436
Objecti...
C
uiwebvi...
wkwebvi...
39 commits

TYSnapshotScroll

English|简体中文

Save the scroll view page as an image,support UIScrollView,UITableView,UICollectionView,UIWebView,WKWebView.(Support iOS13)

  • [x] iOS13
  • [x] UITableVieW in UIScrollView
  • [x] UIScrollView
  • [x] UITableView
  • [x] UICollectionView
  • [x] WKWebView
  • [x] UIWebView

  • Fix bug on iOS13,please update the lastest version(0.1.4)

+ Pelease use real machine to debug, simulator has some problems

Cocoapods

  • 1、Add the following line to your Podfile:
pod 'TYSnapshotScroll'
  • 2、Then, run the following command:
pod install
  • 3、import .h file:
#import 
  • 4、if have error "Undefined symbols for architecture arm64" add "$(inherited)" into "Other Linker Flags"

Manually

  • 1、download "TYSnapshotScroll",drag "TYSnapshotScroll" into the project

  • 2、import .h file: :

#import "TYSnapshotScroll.h"

Usage

[TYSnapshotScroll screenSnapshot:yourView finishBlock:^(UIImage *snapShotImage) {
        //doSomething
    }];

normal: TYSnapshotScroll-w240

UITableView in UIScrollView:
TYSnapshotScroll-w240

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.