上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 39 下一页

2020年4月20日

自媒体平台

摘要: 微信公众号 ™企鹅号™大鱼号™头条号™百家号™网易媒体号™搜狐媒体号™360图书馆™趣头条™新浪看点™星图 一点号™ 凤凰号(大风号)北京时间快传号™ 独讯号™ 微任务 秒拍号:http://creator.miaopai.com/ 时间号:http://mp.btime.com/ 惠头条:http 阅读全文

posted @ 2020-04-20 12:21 高彰 阅读(277) 评论(0) 推荐(0)

2020年4月7日

用alt+数字组合键打出一些特殊符号

摘要: alt+34147=卌alt+34148=卍alt+34149=卐alt+41420=√alt+41424=⌒alt+41441=♂alt+41442=♀alt+41457=●alt+41458=◎alt+41459=◇alt+41460=◆alt+42664=Θalt+42965=дalt+430 阅读全文

posted @ 2020-04-07 14:39 高彰 阅读(4780) 评论(0) 推荐(0)

2020年3月26日

iOS 暗黑模式适配

摘要: 在需要处理暗黑模式的地方,再添加上如下代码:(设置相应配色) if (@available(iOS 13.0, *)) { UIColor * rightColor = [UIColor colorWithDynamicProvider:^UIColor * _Nonnull(UITraitColl 阅读全文

posted @ 2020-03-26 16:39 高彰 阅读(3515) 评论(0) 推荐(0)

2020年3月25日

iOS 跳转设置定位

摘要: //在app中有方法跳转本app的设置开启定位,openURL方法在iOS2.0以上系统均支持 NSURL *url = [[NSURL alloc] initWithString:UIApplicationOpenSettingsURLString]; if( [[UIApplication sh 阅读全文

posted @ 2020-03-25 10:50 高彰 阅读(1276) 评论(0) 推荐(0)

2020年3月23日

ios主线程

摘要: dispatch_sync(dispatch_get_main_queue(), ^{ NSLog(@"主队列同步执行"); }); 代码本身就是在主线程中写的,将其放到子线程中就可以避免造成死循环 // dispatch_async(dispatch_get_global_queue(0, 0), 阅读全文

posted @ 2020-03-23 12:10 高彰 阅读(3163) 评论(0) 推荐(0)

2020年3月20日

iOS 系统版本判定

摘要: if (@available(iOS 11.0, *)) { NSLog(@"iOS 11以上版本"); } else { NSLog(@"iOS 11以下版本"); } NSString *version = [UIDevice currentDevice].systemVersion; floa 阅读全文

posted @ 2020-03-20 10:41 高彰 阅读(4497) 评论(0) 推荐(0)

2020年1月11日

flutter int互转string (dart语法)

摘要: //int转string 8848.toString(); //string转int int.parse("8848"); 阅读全文

posted @ 2020-01-11 14:37 高彰 阅读(23037) 评论(0) 推荐(1)

flutter Could not find the built application bundle at build/ios/iphonesimulator/Runner.app

摘要: 运行flutter run时报错 提示如下: Could not find the built application bundle at build/ios/iphonesimulator/Runner.app. Error launching application on iPhone 11 P 阅读全文

posted @ 2020-01-11 09:31 高彰 阅读(816) 评论(0) 推荐(0)

2020年1月8日

flutter color

摘要: style:TextStyle(color: Colors.white) style:TextStyle(color: Colors.white70) color: Colors.blue[400] color: Color(0xfff1f1f1) 阅读全文

posted @ 2020-01-08 15:51 高彰 阅读(151) 评论(0) 推荐(0)

2020年1月7日

flutter 字符串拼接

摘要: // 拼接字符串, 输出:单引号空格 或者 双引号空格 String blockStr = '单引号'+'空格'; String blockStr1 = "双引号"+"空格"; 阅读全文

posted @ 2020-01-07 18:14 高彰 阅读(10558) 评论(0) 推荐(0)

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 39 下一页

导航