UIButton
看起来像应用图标。
您可以使用自定义初始化器创建一个 VTAppButton
,然后就像使用任何其他 UIButton
一样使用它(设置一个框架、添加一个目标操作等)。
UIButton *button = [VTAppButton appButtonWithAppIdentifier:@"579440241"
title:@"1List"
image:iconImage];
VTAppButton 需要 iOS 5.0 及以上版本,并使用 ARC。
VTAppButton 由 Vincent Tourraine 创建。
VTAppButton 在 MIT 许可证下可用。查看 LICENSE 文件获取更多信息。