@@ -15,36 +15,40 @@ WYPopoverController is for the presentation of content in popover on iPhone / iP
1515
1616* UIAppearance support
1717* Works like UIPopoverController
18- * Rotation support
18+ * Automatic orientation support
1919* UIStoryboard support
2020* Keyboard show / hide support
21+ * iOS 6 & 7 support
22+
2123
2224### UIAppearance support
2325
2426---
2527
26- | Property | Type | Default value |
27- | --------------------- | -------------- | -------------------------------------------------------------------------------------: |
28- | tintColor | ` UIColor ` | * nil* |
29- | arrowBase | ` CGFloat ` | 42 |
30- | arrowHeight | ` CGFloat ` | 18 |
31- | borderWidth | ` CGFloat ` | 6 |
32- | outerCornerRadius | ` CGFloat ` | 8 |
33- | minOuterCornerRadius ![ ] ( https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/wypopover_new_ico.png ) | ` CGFloat ` | 0 |
34- | innerCornerRadius | ` CGFloat ` | 6 |
35- | viewContentInsets | ` UIEdgeInsets ` | { 3, 0, 0, 0 } |
36- | strokeColor | ` UIColor ` | #262c31ff ![ ] ( https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/wypopover_default_strokecolor.png ) |
37- | fillTopColor | ` UIColor ` | #373f47ff ![ ] ( https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/wypopover_default_filltopcolor.png ) |
38- | fillBottomColor | ` UIColor ` | #3b434cff ![ ] ( https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/wypopover_default_fillbottomcolor.png ) |
39- | glossShadowColor | ` UIColor ` | #c3c5c77f ![ ] ( https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/wypopover_default_glossshadowcolor.png ) |
40- | glossShadowBlurRadius | ` CGFloat ` | 0 |
41- | glossShadowOffset | ` CGSize ` | { 0, 1.5 } |
42- | outerShadowColor | ` UIColor ` | #000000bf ![ ] ( https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/wypopover_default_shadowcolor.png ) |
43- | outerShadowBlurRadius | ` CGFloat ` | 8 |
44- | outerShadowOffset | ` CGSize ` | { 0, 2 } |
45- | innerShadowColor | ` UIColor ` | #000000bf ![ ] ( https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/wypopover_default_shadowcolor.png ) |
46- | innerShadowBlurRadius | ` CGFloat ` | 2 |
47- | innerShadowOffset | ` CGSize ` | { 0, 1 } |
28+ | Property | Type | Default value (iOS 6) | Default value (iOS 7) |
29+ | ------------------------------------------------------------------ | -------------- | ---------------------: | ---------------------: |
30+ | tintColor | ` UIColor ` | * nil* | * nil* |
31+ | arrowBase | ` CGFloat ` | 42 | 25 |
32+ | arrowHeight | ` CGFloat ` | 18 | 13 |
33+ | borderWidth | ` CGFloat ` | 6 | 0 |
34+ | outerCornerRadius | ` CGFloat ` | 8 | 5 |
35+ | innerCornerRadius | ` CGFloat ` | 6 | 0 |
36+ | viewContentInsets | ` UIEdgeInsets ` | { 3, 0, 0, 0 } | UIEdgeInsetsZero |
37+ | fillTopColor | ` UIColor ` | #373f47ff | #f4f4f4ff |
38+ | fillBottomColor | ` UIColor ` | #3b434cff | #f4f4f4ff |
39+ | glossShadowColor | ` UIColor ` | #c3c5c77f | #transparent |
40+ | glossShadowBlurRadius | ` CGFloat ` | 0 | 0 |
41+ | glossShadowOffset | ` CGSize ` | { 0, 1.5 } | CGSizeZero |
42+ | outerShadowColor | ` UIColor ` | #000000bf | #transparent |
43+ | outerShadowBlurRadius | ` CGFloat ` | 8 | 0 |
44+ | outerShadowOffset | ` CGSize ` | { 0, 2 } | CGSizeZero |
45+ | innerShadowColor | ` UIColor ` | #000000bf | #transparent |
46+ | innerShadowBlurRadius | ` CGFloat ` | 2 | 0 |
47+ | innerShadowOffset | ` CGSize ` | { 0, 1 } | CGSizeZero |
48+ | strokeColor ![ ] ( screenshots/wypopover_deprecated_ico.png ) | ` UIColor ` | #262c31ff | * nil* |
49+ | minOuterCornerRadius ![ ] ( screenshots/wypopover_new_ico.png ) | ` CGFloat ` | 0 | 0 |
50+ | innerStrokeColor ![ ] ( screenshots/wypopover_new_ico.png ) | ` UIColor ` | #262c31ff | #transparent |
51+ | outerStrokeColor ![ ] ( screenshots/wypopover_new_ico.png ) | ` UIColor ` | #262c31ff | #transparent |
4852
4953##### Arrow & Border
5054
0 commit comments