小编Sle*_*ers的帖子

错误:无法在Android Studio中的SDK中找到adb

有谁知道这意味着什么?我对Android有点不感兴趣.当我点击模拟器上的"运行"按钮时,我收到此消息.

__PRE__

我正在运行最新版本0.8.14.

编辑:我正在使用Android Studio

installation android adb android-studio

77
推荐指数
7
解决办法
22万
查看次数

更改未选中的UITabBarController项目标题和背景图像的tintColor

如何更改未选中的UITabBarItem标题和背景图像iOS 8的tintColor?

未选择状态的默认颜色为浅灰色,但在我的暗色UITabBar背景上不显示

我希望我的未选择状态有[UIColor blackColor]的颜色

在我的应用程序委托内部完成了完成任务:我有

UIImage *deselectedE = [[UIImage imageNamed:@"mincraft_axe_green_32.png"] imageWithRenderingMode:UIImageRenderingModeAutomatic];
UIImage *selectedE = [[UIImage imageNamed:@"mincraft_axe_green_32.png"] imageWithRenderingMode:UIImageRenderingModeAutomatic];
e.tabBarItem =  [[UITabBarItem alloc] initWithTitle:@"Profile" image:deselectedE selectedImage:selectedE];
[[UITabBar appearance] setTintColor:[UIColor blackColor]];
Run Code Online (Sandbox Code Playgroud)

uitabbaritem tintcolor ios bartintcolor ios8

17
推荐指数
3
解决办法
3万
查看次数

将阴影渐变添加到uitableviewcell/uiimageview的底部

有谁知道如何在uitableviewcell或uiimageview的底部添加渐变,如下图所示?

在此输入图像描述

gradient objective-c uiimageview ios swift

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

如何在UIPopoverPresentionController iOS 8中更改箭头颜色?

问题说明了一切.有没有人知道从标准灰色改变它的任何技巧?

uipopovercontroller ios

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

需要提示UIBezierPath.像Instagram注册视图的三角形状

我试图创建一个像下面图片中的instagram三角形的bezier路径,但是我一定是做错了.Bezier路径没有显示!

- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.

}

-(void)viewDidLayoutSubviews{
[super viewDidLayoutSubviews];

[self drawTriangle];

}

- (IBAction)closeButton:(UIButton *)sender {
[self dismissViewControllerAnimated:YES completion:nil];
}

- (void)drawTriangle{

UIBezierPath* trianglePath = [UIBezierPath bezierPath];
[trianglePath moveToPoint:CGPointMake(self.signUpButton.center.x, self.signUpButton.frame.origin.y + 30)];
[trianglePath addLineToPoint:CGPointMake(self.signUpButton.center.x - 10, self.imageView.frame.size.height)];
[trianglePath addLineToPoint:CGPointMake(self.signUpButton.center.x + 10, self.imageView.frame.size.height)];

UIColor *fillColor = [UIColor whiteColor];
[fillColor setFill];
UIColor *strokeColor = [UIColor whiteColor];
[strokeColor setStroke];

 [trianglePath fill];
[trianglePath stroke];

[trianglePath closePath];
}
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

objective-c cashapelayer ios uibezierpath

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