ios - 更改 FPopover Controller 的颜色

标签 ios iphone objective-c ipad fppopover

我已经下载了 FPPopover Controller 代码表 Link

它由一些弹出颜色组成,如绿色,红色,黄色,浅灰色..

但在该代码中,我无法将弹出窗口颜色更改为 iPad 中的真实弹出窗口颜色

请仔细查看上面的代码Link并帮助我...

谢谢..

最佳答案

嘿,这很简单,您只需要在此示例中更改此处的值

FPPopoverView.h

typedef enum {
    FPPopoverBlackTint,
    FPPopoverLightGrayTint,
    FPPopoverGreenTint,
    FPPopoverRedTint,
    FPPopoverDefaultTint = FPPopoverRedTint
} FPPopoverTint;

您可以使用 FPPopoverDefaultTint = FPPopoverRedTintFPPopoverDefaultTint = FPPopoverLightGrayTint 检查更改

我刚刚测试并放置了FPPopoverRedTint

输出为

enter image description here

关于ios - 更改 FPopover Controller 的颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14399270/

相关文章:

iphone - 如果我需要在应用程序购买中测试 phonegapp,我应该发布一个应用程序吗?

iphone - libz.1.dylib 框架的 Apple Mach-O 链接器错误

ios - iphone 中的锁定方向问题

iOS @IBOutlet views all be nil only in iOS 8

ios - 为什么在 requestAccessToEntity :completion? 中使用 performSegueWithIdentifier 时使用 dispatch_async

ios - 如何在 iOS 中创建侧面板位于中心面板之上的滑出式导航面板?

ios - 如何在swift中创建数字范围

ios - Firebase iOS 静默推送通知停止在后台传送(一段时间后)

ios - 将 SKSpriteNode 掩蔽为液体

iphone - 发出来自其他设备的符号化崩溃日志