【文件属性】:
文件名称:NAModalSheet:NAModalSheet-模态呈现您自己的视图,并通过背景模糊显示
文件大小:43KB
文件格式:ZIP
更新时间:2021-04-30 22:45:02
Objective-C
## NAModalSheet
NAModalSheet向您的视图控制器提供背景模糊的图像-在iOS 6和7上进行了测试,但应可在iOS 5上部署。
与CocoaPods一起安装
使用并将NAModalSheet添加到您的项目。
将NAModalSheet的pod条目添加到您的Podfile中:
pod 'NAModalSheet', '~> 0.1.2'
通过运行以下命令安装窗格:
pod install
###用法
使用NAModalSheet时,应与Accelerate.framework链接
使用您的视图控制器和演示样式初始化NAModalSheet:图纸可以从顶部或底部滑动,或从中间淡入。
//Create a view controller to display as a sheet
SampleSheetViewController *svc = [[Sampl
【文件预览】:
NAModalSheet-master
----NAModalSheet()
--------NAModalSheet.h(8KB)
--------UIImage+screenshot.h(225B)
--------UIImage+BoxBlur.m(4KB)
--------NAModalSheet.m(21KB)
--------UIImage+BoxBlur.h(253B)
--------UIImage+screenshot.m(3KB)
----.travis.yml(103B)
----LICENSE.md(1KB)
----README.md(2KB)
----NAModalSheetDemo()
--------ViewController.m(7KB)
--------SampleBottomSheetViewController.h(373B)
--------en.lproj()
--------SampleTooltipViewController.xib(5KB)
--------main.m(339B)
--------NAModalSheetDemo-Info.plist(1KB)
--------SampleTooltipViewController.h(318B)
--------SampleSheetViewController.h(361B)
--------SampleSheetViewController.m(1KB)
--------SampleSheetViewController.xib(4KB)
--------SampleBottomSheetViewController.m(1KB)
--------Base.lproj()
--------SampleBottomSheetViewController.xib(4KB)
--------Images.xcassets()
--------ViewController.h(219B)
--------AppDelegate.h(285B)
--------NAModalSheetDemo-Prefix.pch(340B)
--------SampleTooltipViewController.m(682B)
--------AppDelegate.m(2KB)
----NAModalSheetDemo.xcodeproj()
--------project.xcworkspace()
--------xcuserdata()
--------project.pbxproj(20KB)
----NAModalSheet.podspec(532B)
----.gitignore(321B)