【文件属性】:
文件名称:ARAlertController:UIAlertController 兼容 iOS >= 5.0
文件大小:169KB
文件格式:ZIP
更新时间:2021-06-05 08:27:16
Objective-C
警报控制器
概述
UIAlertController 兼容 iOS >= 5.0
iOS >= 8
iOS <= 7
用法
安装
ARAlertController 可通过CocoaPods 获得。 要安装它,只需将以下行添加到您的 Podfile 中:
pod 'ARAlertController'
或者您可以将以下文件添加到您的项目中:
ARAlertController.m
ARAlertController.h
要运行示例项目, pod install克隆 repo,然后从 Example 目录运行pod install 。
例子
ARAlertController *alert = [ARAlertController alertControllerWithTitle: @" My Alert " message: @" This is an alert.
【文件预览】:
ARAlertController-master
----.gitignore(648B)
----.travis.yml(223B)
----LICENSE(1KB)
----ARAlertController.podspec(1016B)
----README.md(3KB)
----alert7.png(59KB)
----ARAlertControllerExample()
--------ARAlertControllerExample()
--------ARAlertControllerExample.xcodeproj()
--------Cartfile.resolved(47B)
--------Cartfile(80B)
--------ARAlertControllerExample.xcworkspace()
--------Podfile.lock(180B)
--------Podfile(103B)
--------ARAlertControllerExampleTests()
----alert8.png(55KB)
----sheet8.png(41KB)
----ARAlertController()
--------ARAlertController.m(16KB)
--------Info.plist(827B)
--------ARAlertController.h(9KB)
----ARAlertController.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(14KB)
--------xcuserdata()
----sheet7.png(38KB)
----ARAlertControllerTests()
--------ARAlertControllerTests.m(901B)
--------Info.plist(754B)