简体   繁体   English

鸟巢SDK框架问题

[英]Aviary SDK frame issue

I have updated the Aviary SDK for iOS 7 compatibility . 我已经更新了适用于iOS 7的Aviary SDK。 Previously everything working good but in the iOS 7 I am having the following frame issue . 以前,一切正常,但是在iOS 7中,我遇到以下框架问题。 Cancel button and Done buttons are cutting down at the edges and there is some gap from status bar and Aviary present modal view . “取消”按钮和“完成”按钮的边缘逐渐缩小,并且与状态栏和Aviary当前模态视图之间存在一定距离。 Any ideas or help would be grateful . 任何想法或帮助将不胜感激。

在此处输入图片说明

I have found a solution for changing colour for "done" and "apply" button in "AFPhotoEditorController". 我找到了一种在“ AFPhotoEditorController”中更改“完成”和“应用”按钮的颜色的解决方案。

  1. select & open "AviarySDKResources.bundle" from your project 从您的项目中选择并打开“ AviarySDKResources.bundle”
  2. open "AviarySDKColors.plist" 打开“ AviarySDKColors.plist”
  3. open "accentColor" 打开“ accentColor”
  4. change value for key "hex" to what you want. 将键“十六进制”的值更改为所需的值。

To fix frame dimensions I used 要固定我使用的框架尺寸

- (void)setPhotoEditorCustomizationOptions
{
    [AFPhotoEditorCustomization setUsingIOS6SDK:YES]; 
}

In IOS 7 they are using Border less navigation bar buttons with text highlight effect,No options to adjust the bar buttons,For Aviary suggesting bar buttons with example IOS 7 screens Layout in the style guide and you can achieve this effects by adjusting bar button color and opacity in Aviary SDK tool. 在IOS 7中,他们使用具有文本突出显示效果的无边框导航栏按钮,没有用于调整栏按钮的选项,对于带有示例IOS 7屏幕的Aviary建议栏按钮,样式指南中的布局,您可以通过调整栏按钮颜色来实现此效果和Aviary SDK工具中的不透明度。

在此处输入图片说明

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM