小编Kev*_*vin的帖子

用Swift3.0升级Xcode8?

最近,我已将我的Xcode升级到版本8,我的控制台中出现了一些奇怪的错误,如下所示:

Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)    
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit_Sim/VectorKit-1228.30.7.17.9/GeoGL/GeoGL/GLCoreContext.cpp 1763: InfoLog SolidRibbonShader:
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit_Sim/VectorKit-1228.30.7.17.9/GeoGL/GeoGL/GLCoreContext.cpp 1764: WARNING: Output of vertex shader 'v_gradient' not read by fragment shader
Run Code Online (Sandbox Code Playgroud)

任何专家都知道如何处理它?

先谢谢你.

swift3 xcode8

9
推荐指数
0
解决办法
2209
查看次数

如何在Xcode8上清除这些警告?

最近,我将我的项目提交到Swift3.0.并修复Xcode8.0上的升级问题.一些奇怪的警告消息显示在Xcode7中不会发生.

Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
Painter Z index: 1023 is too large (max 255)
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit_Sim/VectorKit-1228.30.7.17.9/GeoGL/GeoGL/GLCoreContext.cpp 1763: InfoLog SolidRibbonShader:
ERROR /BuildRoot/Library/Caches/com.apple.xbs/Sources/VectorKit_Sim/VectorKit-1228.30.7.17.9/GeoGL/GeoGL/GLCoreContext.cpp 1764: WARNING: Output of vertex shader 'v_gradient' not read by fragment shader 
Run Code Online (Sandbox Code Playgroud)

任何专家都知道如何解决它?先谢谢你.

swift3 ios10 xcode8

6
推荐指数
0
解决办法
2097
查看次数

指南针在MKMapView中的放置或定位?

我正在用Swift编写一个基于位置的应用程序。

我使MapView可以显示指南针,但我想将指南针的位置从右上角更改为左下角。

有专家知道如何移动它吗?

在此先感谢您。

mkmapview swift

4
推荐指数
2
解决办法
2571
查看次数

我可以通过AWS EC2删除终端实例吗?

我创建了一个AWS EC2 ubuntu实例来托管我的后端。我将其标记为“已终止”。我可以通过AWS EC2删除终止的实例吗?或实例留在我的仪表板中。在此先感谢您。

amazon-ec2

3
推荐指数
2
解决办法
941
查看次数

如何区分我的BrainTree商家帐户?

我正在开发2个应用程序,它们都部署了BrainTree V零支付功能.我在一个Braintree账户用户中准备了Braintree商户账户.

我只有一个托管服务器Braintree端实例.

我的问题是如何通过我的Get_Token或Payment API来区分它们?

先谢谢你!

paypal braintree

2
推荐指数
1
解决办法
1042
查看次数

标题有什么不同?

我想为我的 UIViewController 添加标题:

我试过了

self.navigationController.navigationItem.title
self.navigationController.title
self.title
Run Code Online (Sandbox Code Playgroud)

有时,解决方案 1 有效,有时解决方案 2 有效,有时解决方案 3 有效。

哪位专家能告诉我它们之间的区别吗?

uinavigationbar uinavigationcontroller uinavigationitem ios swift

1
推荐指数
1
解决办法
663
查看次数