0

I have Downloaded FPPopover controller code form Link

it consist the some popover colors as green,red,yellow,light gray..

But in that code i am not able to change the popover color as real popover color as in iPad

Please go through the code in the above Link and help me...

Thanks..

JOM
  • 8,139
  • 6
  • 78
  • 111
Ashok
  • 5,585
  • 5
  • 52
  • 80

1 Answers1

1

hey its simple you just need to change value here in this example

FPPopoverView.h

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

you can check change with FPPopoverDefaultTint = FPPopoverRedTint with FPPopoverDefaultTint = FPPopoverLightGrayTint

i just tested and i put FPPopoverRedTint

Output is

enter image description here

Bhavesh Lathigara
  • 1,355
  • 1
  • 15
  • 25
Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144
  • Thanks......But i need the real ipad popover color....for that i need to create new enum...so what colors i need to put in that enum for getting the real ipad popover color... – Ashok Jan 21 '13 at 07:31
  • R:11 G:17 B:47 you have to set its main popover color and its glass effect rgb is R:60 G:74 B:97 approx – Nitin Gohel Jan 21 '13 at 07:36
  • you just see how to set other enum in FPPopoverView.h and .m then you have to crate your own enum with my above comment RGB color :) – Nitin Gohel Jan 21 '13 at 07:38