📝 TextContainerLayoutGuide
如何使用
简单地将视图约束到 TextContainerLayoutGuide 的锚点。
footerView.topAnchor.constraint(equalTo: textView.textContainerLayoutGuide.bottomAnchor).isActive = true
将视图放置在 UITextView 的页脚
安装
Cococapods
TextContainerLayoutGuide 通过 CocoaPods 提供。要安装它,只需将以下行添加到 Podfile
pod 'TextContainerLayoutGuide'
Carthage
github "noppefoxwolf/TextContainerLayoutGuide"
作者
noppefoxwolf, [email protected]
许可证
TextContainerLayoutGuide 可在 MIT 许可下使用。更多信息请参阅 LICENSE 文件。