App中不可能少了弹框,弹框是交互的必要形式,使用起来也非常简单,不过最近需要自定义一个弹框,虽然iOS本身的弹框已经能满足大部分的需求,但是不可避免还是需要做一些自定义的工作。iOS7之前是可以自定义AlterView的,就是继承一下UIAlterView,然后初始化的时候通过addSubview添加自定义的View,但是iOS7之后这样做就不行了,不过还好有开源项目可以解决这个问题。

iOS默认弹框

viewDidLoad中添加两个按钮,代码如下:

    UIButton  *orignalBtn=[[UIButton alloc]initWithFrame:CGRectMake(100, 40, 100, 50)];[orignalBtn setBackgroundColor:[UIColor greenColor]];[orignalBtn setTitle:@"iOS弹框" forState:UIControlStateNormal];[orignalBtn addTarget:self action:@selector(orignalShow) forControlEvents:UIControlEventTouchUpInside];[self.view addSubview:orignalBtn];UIButton  *customlBtn=[[UIButton alloc]initWithFrame:CGRectMake(100, 140, 100, 50)];[customlBtn setBackgroundColor:[UIColor redColor]];[customlBtn setTitle:@"自定义弹框" forState:UIControlStateNormal];[customlBtn addTarget:self action:@selector(customShow) forControlEvents:UIControlEventTouchUpInside];[self.view addSubview:customlBtn];

 响应默认弹框事件:

-(void)orignalShow{UIAlertView *alterView=[[UIAlertView alloc]initWithTitle:@"提示" message:@"博客园-Fly_Elephant" delegate:self cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil];[alterView show];
}

  效果如下:

自定义弹框

主要解决iOS7之后的系统无法自定义弹框的问题,使用开源项目,项目地址:https://github.com/wimagguc/ios-custom-alertview,其实就是自定义了一个类:

CustomIOSAlertView.h

#import <UIKit/UIKit.h>@protocol CustomIOSAlertViewDelegate- (void)customIOS7dialogButtonTouchUpInside:(id)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;@end@interface CustomIOSAlertView : UIView<CustomIOSAlertViewDelegate>@property (nonatomic, retain) UIView *parentView;    // The parent view this 'dialog' is attached to
@property (nonatomic, retain) UIView *dialogView;    // Dialog's container view
@property (nonatomic, retain) UIView *containerView; // Container within the dialog (place your ui elements here)@property (nonatomic, assign) id<CustomIOSAlertViewDelegate> delegate;
@property (nonatomic, retain) NSArray *buttonTitles;
@property (nonatomic, assign) BOOL useMotionEffects;@property (copy) void (^onButtonTouchUpInside)(CustomIOSAlertView *alertView, int buttonIndex) ;- (id)init;/*!DEPRECATED: Use the [CustomIOSAlertView init] method without passing a parent view.*/
- (id)initWithParentView: (UIView *)_parentView __attribute__ ((deprecated));- (void)show;
- (void)close;- (IBAction)customIOS7dialogButtonTouchUpInside:(id)sender;
- (void)setOnButtonTouchUpInside:(void (^)(CustomIOSAlertView *alertView, int buttonIndex))onButtonTouchUpInside;- (void)deviceOrientationDidChange: (NSNotification *)notification;
- (void)dealloc;@end

CustomIOSAlertView.m

#import "CustomIOSAlertView.h"
#import <QuartzCore/QuartzCore.h>const static CGFloat kCustomIOSAlertViewDefaultButtonHeight       = 50;
const static CGFloat kCustomIOSAlertViewDefaultButtonSpacerHeight = 1;
const static CGFloat kCustomIOSAlertViewCornerRadius              = 7;
const static CGFloat kCustomIOS7MotionEffectExtent                = 10.0;@implementation CustomIOSAlertViewCGFloat buttonHeight = 0;
CGFloat buttonSpacerHeight = 0;@synthesize parentView, containerView, dialogView, onButtonTouchUpInside;
@synthesize delegate;
@synthesize buttonTitles;
@synthesize useMotionEffects;- (id)initWithParentView: (UIView *)_parentView
{self = [self init];if (_parentView) {self.frame = _parentView.frame;self.parentView = _parentView;}return self;
}- (id)init
{self = [super init];if (self) {self.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height);delegate = self;useMotionEffects = false;buttonTitles = @[@"Close"];[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(deviceOrientationDidChange:) name:UIDeviceOrientationDidChangeNotification object:nil];[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillHide:) name:UIKeyboardWillHideNotification object:nil];}return self;
}// Create the dialog view, and animate opening the dialog
- (void)show
{dialogView = [self createContainerView];dialogView.layer.shouldRasterize = YES;dialogView.layer.rasterizationScale = [[UIScreen mainScreen] scale];self.layer.shouldRasterize = YES;self.layer.rasterizationScale = [[UIScreen mainScreen] scale];#if (defined(__IPHONE_7_0))if (useMotionEffects) {[self applyMotionEffects];}
#endifself.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0];[self addSubview:dialogView];// Can be attached to a view or to the top most window// Attached to a view:if (parentView != NULL) {[parentView addSubview:self];// Attached to the top most window} else {// On iOS7, calculate with orientationif (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_7_1) {UIInterfaceOrientation interfaceOrientation = [[UIApplication sharedApplication] statusBarOrientation];switch (interfaceOrientation) {case UIInterfaceOrientationLandscapeLeft:self.transform = CGAffineTransformMakeRotation(M_PI * 270.0 / 180.0);break;case UIInterfaceOrientationLandscapeRight:self.transform = CGAffineTransformMakeRotation(M_PI * 90.0 / 180.0);break;case UIInterfaceOrientationPortraitUpsideDown:self.transform = CGAffineTransformMakeRotation(M_PI * 180.0 / 180.0);break;default:break;}[self setFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];// On iOS8, just place the dialog in the middle} else {CGSize screenSize = [self countScreenSize];CGSize dialogSize = [self countDialogSize];CGSize keyboardSize = CGSizeMake(0, 0);dialogView.frame = CGRectMake((screenSize.width - dialogSize.width) / 2, (screenSize.height - keyboardSize.height - dialogSize.height) / 2, dialogSize.width, dialogSize.height);}[[[[UIApplication sharedApplication] windows] firstObject] addSubview:self];}dialogView.layer.opacity = 0.5f;dialogView.layer.transform = CATransform3DMakeScale(1.3f, 1.3f, 1.0);[UIView animateWithDuration:0.2f delay:0.0 options:UIViewAnimationOptionCurveEaseInOutanimations:^{self.backgroundColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.4f];dialogView.layer.opacity = 1.0f;dialogView.layer.transform = CATransform3DMakeScale(1, 1, 1);}completion:NULL];}// Button has been touched
- (IBAction)customIOS7dialogButtonTouchUpInside:(id)sender
{if (delegate != NULL) {[delegate customIOS7dialogButtonTouchUpInside:self clickedButtonAtIndex:[sender tag]];}if (onButtonTouchUpInside != NULL) {onButtonTouchUpInside(self, (int)[sender tag]);}
}// Default button behaviour
- (void)customIOS7dialogButtonTouchUpInside: (CustomIOSAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
{NSLog(@"Button Clicked! %d, %d", (int)buttonIndex, (int)[alertView tag]);[self close];
}// Dialog close animation then cleaning and removing the view from the parent
- (void)close
{CATransform3D currentTransform = dialogView.layer.transform;if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_7_1) {CGFloat startRotation = [[dialogView valueForKeyPath:@"layer.transform.rotation.z"] floatValue];CATransform3D rotation = CATransform3DMakeRotation(-startRotation + M_PI * 270.0 / 180.0, 0.0f, 0.0f, 0.0f);dialogView.layer.transform = CATransform3DConcat(rotation, CATransform3DMakeScale(1, 1, 1));}dialogView.layer.opacity = 1.0f;[UIView animateWithDuration:0.2f delay:0.0 options:UIViewAnimationOptionTransitionNoneanimations:^{self.backgroundColor = [UIColor colorWithRed:0.0f green:0.0f blue:0.0f alpha:0.0f];dialogView.layer.transform = CATransform3DConcat(currentTransform, CATransform3DMakeScale(0.6f, 0.6f, 1.0));dialogView.layer.opacity = 0.0f;}completion:^(BOOL finished) {for (UIView *v in [self subviews]) {[v removeFromSuperview];}[self removeFromSuperview];}];
}- (void)setSubView: (UIView *)subView
{containerView = subView;
}// Creates the container view here: create the dialog, then add the custom content and buttons
- (UIView *)createContainerView
{if (containerView == NULL) {containerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 300, 150)];}CGSize screenSize = [self countScreenSize];CGSize dialogSize = [self countDialogSize];// For the black background[self setFrame:CGRectMake(0, 0, screenSize.width, screenSize.height)];// This is the dialog's container; we attach the custom content and the buttons to this oneUIView *dialogContainer = [[UIView alloc] initWithFrame:CGRectMake((screenSize.width - dialogSize.width) / 2, (screenSize.height - dialogSize.height) / 2, dialogSize.width, dialogSize.height)];// First, we style the dialog to match the iOS7 UIAlertView >>>CAGradientLayer *gradient = [CAGradientLayer layer];gradient.frame = dialogContainer.bounds;gradient.colors = [NSArray arrayWithObjects:(id)[[UIColor colorWithRed:218.0/255.0 green:218.0/255.0 blue:218.0/255.0 alpha:1.0f] CGColor],(id)[[UIColor colorWithRed:233.0/255.0 green:233.0/255.0 blue:233.0/255.0 alpha:1.0f] CGColor],(id)[[UIColor colorWithRed:218.0/255.0 green:218.0/255.0 blue:218.0/255.0 alpha:1.0f] CGColor],nil];CGFloat cornerRadius = kCustomIOSAlertViewCornerRadius;gradient.cornerRadius = cornerRadius;[dialogContainer.layer insertSublayer:gradient atIndex:0];dialogContainer.layer.cornerRadius = cornerRadius;dialogContainer.layer.borderColor = [[UIColor colorWithRed:198.0/255.0 green:198.0/255.0 blue:198.0/255.0 alpha:1.0f] CGColor];dialogContainer.layer.borderWidth = 1;dialogContainer.layer.shadowRadius = cornerRadius + 5;dialogContainer.layer.shadowOpacity = 0.1f;dialogContainer.layer.shadowOffset = CGSizeMake(0 - (cornerRadius+5)/2, 0 - (cornerRadius+5)/2);dialogContainer.layer.shadowColor = [UIColor blackColor].CGColor;dialogContainer.layer.shadowPath = [UIBezierPath bezierPathWithRoundedRect:dialogContainer.bounds cornerRadius:dialogContainer.layer.cornerRadius].CGPath;// There is a line above the buttonUIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(0, dialogContainer.bounds.size.height - buttonHeight - buttonSpacerHeight, dialogContainer.bounds.size.width, buttonSpacerHeight)];lineView.backgroundColor = [UIColor colorWithRed:198.0/255.0 green:198.0/255.0 blue:198.0/255.0 alpha:1.0f];[dialogContainer addSubview:lineView];// ^^^// Add the custom container if there is any[dialogContainer addSubview:containerView];// Add the buttons too[self addButtonsToView:dialogContainer];return dialogContainer;
}// Helper function: add buttons to container
- (void)addButtonsToView: (UIView *)container
{if (buttonTitles==NULL) { return; }CGFloat buttonWidth = container.bounds.size.width / [buttonTitles count];for (int i=0; i<[buttonTitles count]; i++) {UIButton *closeButton = [UIButton buttonWithType:UIButtonTypeCustom];[closeButton setFrame:CGRectMake(i * buttonWidth, container.bounds.size.height - buttonHeight, buttonWidth, buttonHeight)];[closeButton addTarget:self action:@selector(customIOS7dialogButtonTouchUpInside:) forControlEvents:UIControlEventTouchUpInside];[closeButton setTag:i];[closeButton setTitle:[buttonTitles objectAtIndex:i] forState:UIControlStateNormal];[closeButton setTitleColor:[UIColor colorWithRed:0.0f green:0.5f blue:1.0f alpha:1.0f] forState:UIControlStateNormal];[closeButton setTitleColor:[UIColor colorWithRed:0.2f green:0.2f blue:0.2f alpha:0.5f] forState:UIControlStateHighlighted];[closeButton.titleLabel setFont:[UIFont boldSystemFontOfSize:14.0f]];[closeButton.layer setCornerRadius:kCustomIOSAlertViewCornerRadius];[container addSubview:closeButton];}
}// Helper function: count and return the dialog's size
- (CGSize)countDialogSize
{CGFloat dialogWidth = containerView.frame.size.width;CGFloat dialogHeight = containerView.frame.size.height + buttonHeight + buttonSpacerHeight;return CGSizeMake(dialogWidth, dialogHeight);
}// Helper function: count and return the screen's size
- (CGSize)countScreenSize
{if (buttonTitles!=NULL && [buttonTitles count] > 0) {buttonHeight       = kCustomIOSAlertViewDefaultButtonHeight;buttonSpacerHeight = kCustomIOSAlertViewDefaultButtonSpacerHeight;} else {buttonHeight = 0;buttonSpacerHeight = 0;}CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width;CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height;// On iOS7, screen width and height doesn't automatically follow orientationif (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_7_1) {UIInterfaceOrientation interfaceOrientation = [[UIApplication sharedApplication] statusBarOrientation];if (UIInterfaceOrientationIsLandscape(interfaceOrientation)) {CGFloat tmp = screenWidth;screenWidth = screenHeight;screenHeight = tmp;}}return CGSizeMake(screenWidth, screenHeight);
}#if (defined(__IPHONE_7_0))
// Add motion effects
- (void)applyMotionEffects {if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1) {return;}UIInterpolatingMotionEffect *horizontalEffect = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@"center.x"type:UIInterpolatingMotionEffectTypeTiltAlongHorizontalAxis];horizontalEffect.minimumRelativeValue = @(-kCustomIOS7MotionEffectExtent);horizontalEffect.maximumRelativeValue = @( kCustomIOS7MotionEffectExtent);UIInterpolatingMotionEffect *verticalEffect = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@"center.y"type:UIInterpolatingMotionEffectTypeTiltAlongVerticalAxis];verticalEffect.minimumRelativeValue = @(-kCustomIOS7MotionEffectExtent);verticalEffect.maximumRelativeValue = @( kCustomIOS7MotionEffectExtent);UIMotionEffectGroup *motionEffectGroup = [[UIMotionEffectGroup alloc] init];motionEffectGroup.motionEffects = @[horizontalEffect, verticalEffect];[dialogView addMotionEffect:motionEffectGroup];
}
#endif- (void)dealloc
{[[UIDevice currentDevice] endGeneratingDeviceOrientationNotifications];[[NSNotificationCenter defaultCenter] removeObserver:self name:UIDeviceOrientationDidChangeNotification object:nil];[[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillHideNotification object:nil];[[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillShowNotification object:nil];
}// Rotation changed, on iOS7
- (void)changeOrientationForIOS7 {UIInterfaceOrientation interfaceOrientation = [[UIApplication sharedApplication] statusBarOrientation];CGFloat startRotation = [[self valueForKeyPath:@"layer.transform.rotation.z"] floatValue];CGAffineTransform rotation;switch (interfaceOrientation) {case UIInterfaceOrientationLandscapeLeft:rotation = CGAffineTransformMakeRotation(-startRotation + M_PI * 270.0 / 180.0);break;case UIInterfaceOrientationLandscapeRight:rotation = CGAffineTransformMakeRotation(-startRotation + M_PI * 90.0 / 180.0);break;case UIInterfaceOrientationPortraitUpsideDown:rotation = CGAffineTransformMakeRotation(-startRotation + M_PI * 180.0 / 180.0);break;default:rotation = CGAffineTransformMakeRotation(-startRotation + 0.0);break;}[UIView animateWithDuration:0.2f delay:0.0 options:UIViewAnimationOptionTransitionNoneanimations:^{dialogView.transform = rotation;}completion:nil];}// Rotation changed, on iOS8
- (void)changeOrientationForIOS8: (NSNotification *)notification {CGFloat screenWidth = [UIScreen mainScreen].bounds.size.width;CGFloat screenHeight = [UIScreen mainScreen].bounds.size.height;[UIView animateWithDuration:0.2f delay:0.0 options:UIViewAnimationOptionTransitionNoneanimations:^{CGSize dialogSize = [self countDialogSize];CGSize keyboardSize = [[[notification userInfo] objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;self.frame = CGRectMake(0, 0, screenWidth, screenHeight);dialogView.frame = CGRectMake((screenWidth - dialogSize.width) / 2, (screenHeight - keyboardSize.height - dialogSize.height) / 2, dialogSize.width, dialogSize.height);}completion:nil];}// Handle device orientation changes
- (void)deviceOrientationDidChange: (NSNotification *)notification
{// If dialog is attached to the parent view, it probably wants to handle the orientation change itselfif (parentView != NULL) {return;}if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_7_1) {[self changeOrientationForIOS7];} else {[self changeOrientationForIOS8:notification];}
}// Handle keyboard show/hide changes
- (void)keyboardWillShow: (NSNotification *)notification
{CGSize screenSize = [self countScreenSize];CGSize dialogSize = [self countDialogSize];CGSize keyboardSize = [[[notification userInfo] objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size;UIInterfaceOrientation interfaceOrientation = [[UIApplication sharedApplication] statusBarOrientation];if (UIInterfaceOrientationIsLandscape(interfaceOrientation)) {CGFloat tmp = keyboardSize.height;keyboardSize.height = keyboardSize.width;keyboardSize.width = tmp;}[UIView animateWithDuration:0.2f delay:0.0 options:UIViewAnimationOptionTransitionNoneanimations:^{dialogView.frame = CGRectMake((screenSize.width - dialogSize.width) / 2, (screenSize.height - keyboardSize.height - dialogSize.height) / 2, dialogSize.width, dialogSize.height);}completion:nil];
}- (void)keyboardWillHide: (NSNotification *)notification
{CGSize screenSize = [self countScreenSize];CGSize dialogSize = [self countDialogSize];[UIView animateWithDuration:0.2f delay:0.0 options:UIViewAnimationOptionTransitionNoneanimations:^{dialogView.frame = CGRectMake((screenSize.width - dialogSize.width) / 2, (screenSize.height - dialogSize.height) / 2, dialogSize.width, dialogSize.height);}completion:nil];
}@end

调用代码:

-(void)customShow{CustomIOSAlertView *alertView = [[CustomIOSAlertView alloc] init];[alertView setContainerView:[self customView]];[alertView setButtonTitles:[NSMutableArray arrayWithObjects:@"取消", @"确定", nil]];[alertView setDelegate:self];[alertView setOnButtonTouchUpInside:^(CustomIOSAlertView *alertView, int buttonIndex) {NSString *result=alertView.buttonTitles[buttonIndex];NSLog(@"点击了%@按钮",result);[alertView close];}];[alertView setUseMotionEffects:true];[alertView show];}- (UIView *)customView
{UIView *customView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 240, 160)];UILabel *tip=[[UILabel alloc]initWithFrame:CGRectMake(100, 10, 50, 30)];[tip setText:@"提示"];[customView addSubview:tip];UILabel *content=[[UILabel alloc]initWithFrame:CGRectMake(10, 60, 210, 30)];[content setText:@"http://www.cnblogs.com/xiaofeixiang"];[content setFont:[UIFont systemFontOfSize:12]];[customView addSubview:content];return customView;
}

 效果如下:

iOS开发-自定义UIAlterView(iOS 7)相关推荐

  1. linux 股票指南针,IOS开发入门之ios指南针

    本文将带你了解IOS开发入门之ios指南针,希望本文对大家学IOS有所帮助 参考http://blog.sina.com.cn/s/blog_4a37054201013nhr.html 可运行的代码如 ...

  2. iOS开发UI篇—IOS开发中Xcode的一些使用技巧

    iOS开发UI篇-IOS开发中Xcode的一些使用技巧 一.快捷键的使用 经常用到的快捷键如下: 新建 shift + cmd + n     新建项目 cmd + n             新建文 ...

  3. iOS开发自定义键盘回车键Return Key

    在iOS开发中,用户在进行文本输入的时候,往往会用到虚拟键盘上的回车键,也就是Return Key.回车键有时候可以是"完成"(表示输入结束),可以是"下一项" ...

  4. iOS开发——基础篇——iOS开发 Xcode8中遇到的问题及改动

    iOS开发 Xcode8中遇到的问题及改动 新版本发布总会有很多坑,也会有很多改动. 一个一个填吧... 一.遇到的问题 1.权限以及相关设置 iOS10系统下调用系统相册.相机功能,或者苹果健康都会 ...

  5. IOS开发:一个iOS开发者的修真之路

    在微信上有童鞋问我iOS开发者的入门标准是神马?这个问题难到我了,而且贸然给一个答案出来的话,必定会有万千高手来喷. 凡人修仙,仙人修道,道人修真.当我们还是一个在青石板上蹲马步汗水涔涔的废柴时,或许 ...

  6. iOS开发--TDD的iOS开发初步以及Kiwi使用入门

    测试驱动开发(Test Driven Development,以下简称TDD)是保证代码质量的不二法则,也是先进程序开发的共识.Apple一直致力于在iOS开发中集成更加方便和可用的测试,在Xcode ...

  7. ios开发——27个iOS开源库,让你的开发坐上火箭吧

    本文翻译自Medium,原作者是Paweł Białecki,原文 27个iOS开源库,让你的开发坐上火箭吧 你不会想错过他们,真的. 我爱开源. 并且我喜欢开发者们,把他们宝贵的私人时间用来创造神奇 ...

  8. iOS开发UI篇—iOS开发中三种简单的动画设置

    [在ios开发中,动画是廉价的] 一.首尾式动画 代码示例: // beginAnimations表示此后的代码要"参与到"动画中 [UIView beginAnimations: ...

  9. 【APICloud系列|11】使用APPuploader申请ios开发证书及ios发布证书教程

    开发证书用于app测试.申请ios开发证书 发布证书用于上架.ios发布证书 我开发的APP使用APICloud,简单走一下编译的流程,然后直接上架到APP store.完整的开发,window电脑, ...

最新文章

  1. C Primer Plus 第10章 数组和指针 10.5 指针操作
  2. ESP32-S模块转接板设计与实现
  3. [Python]--Anaconda Resources Collection
  4. 文巾解题 12. 整数转罗马数字
  5. php 处理对象用什么,程序处理的对象是什么
  6. 打响汽车信息安全战,百度Apollo构建最高等级安全防护盾牌
  7. [转]字符编码,ansi, unicode,utf-8, utf-16
  8. 数据库视频(二)——增删改查
  9. C++笔记:select多路复用机制
  10. 从零开始学习jQuery (三) 管理jQuery包装集【转】
  11. Safengine Android so加密
  12. ROS 科大讯飞语音(三)识别篇
  13. android学习笔记---32_文件断点上传器,解决多用户并发,以及自定义协议,注意协议中的漏洞
  14. Flink系列-实时数仓之Flink实时写入ClickHouse并实时大屏Tableau
  15. 三十二 、K8s审计
  16. php经过twemproxy无法delete后端memcache值的解决方法
  17. 自然语言处理--基于规则(AIML)的问答机器人
  18. 华为太极magisk安装教程_Magisk 需要修复运行环境,缺失Magisk正常工作所需的文件...
  19. 计算机谢夫,切贝谢夫
  20. C++11 时间编程(3)时间点表示time_point,时钟类型,当前时间获取

热门文章

  1. java怎么设置背景_如何在Java中设置背景图片?
  2. c语言 自动化编译环境,《C编程.开始C》3.编译基础
  3. 汇编html文档,欢迎走进HTML的世界汇编.ppt
  4. python中format函数用法简书_增强的格式化字符串format函数
  5. 高斯核函数参数确定_高斯过程
  6. echart实现3d地图_3D飞线效果——让线“飞”起来的秘密
  7. 重装系统 linux启动windows系统文件在哪里,Win-Lin双系统重装Windows找回Linux启动
  8. linux源码文件名,Linux中文件名解析处理源码分析
  9. SpringBoot入门一
  10. android计算距离顶部的距离,(lua版)计算距离的逻辑是从Android的提供的接口(Location.distanceBetween)中拔来的,应该是最精确的方法了...