我想在我的 IOS 应用中使用 9-patch 图像。可能吗?
最佳答案
查看 UIImage 的方法 resizableImageWithCapInsets:(UIEdgeInsets)capInsets
.
关于ios - 如何在IOS中使用9-patch镜像?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11447066/
标签 ios nine-patch
我想在我的 IOS 应用中使用 9-patch 图像。可能吗?
最佳答案
查看 UIImage 的方法 resizableImageWithCapInsets:(UIEdgeInsets)capInsets
.
关于ios - 如何在IOS中使用9-patch镜像?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11447066/
相关文章:
ios - 授予 ViewController 访问数据和 Controller 类的权限
php - 基于 PHP 的 Google AdMob 混合移动应用
ios - 在 UITabBarController 中,如何找出选项卡栏中的哪个 UIViewController 在 Swift 2.x 中显示当前的 UIViewController
Android:9-patch 重复模式而不是拉伸(stretch)
android - 9-Patch 文件中的错误 'Patches'
android - 为什么我的 9 补丁中的阴影看起来很糟糕?