
iOS
文章平均质量分 56
BX_Jobs
前端全栈
展开
-
ios wekwebview字体偏小解决
ios wekwebview字体偏小解决原创 2022-08-18 15:19:33 · 659 阅读 · 0 评论 -
安卓google市场和Appstore查看下载量
android:iOS:原创 2021-02-01 17:35:00 · 1533 阅读 · 0 评论 -
网页调起iOS APP的具体方式
先来看看效果,这里做了三个功能 从MyApp跳转到YourApp 从MyApp跳转到YourApp的指定页面 从YourApp使用跳转url的方式跳回MyApp 实现app之间的跳转需要注意两方面 实现跳转的代码 配置url及url白名单 首先来讲url和白名单的设置 创建两个工程分别叫MyApp和YourApp 设置MyApp的url,设置的...原创 2020-01-07 13:48:57 · 797 阅读 · 0 评论 -
_locService = [[BMKLocationService alloc]init]; 我把这句话放在viewdidload 里,整个app不启动了,一直停留在启动页面
_locService = [[BMKLocationService alloc]init]; 我把这句话放在viewdidload 里,整个app不启动了,一直停留在启动页面,想想不应该出现这种问题,突然间脑袋灵感来了,检测了下appdelegate里的 BMKMapManager 初始化,原来问题就在这,初始化一定要放在有调用地图的controller之前,谨记原创 2017-03-28 11:47:21 · 1046 阅读 · 0 评论 -
React Native和hybrid
React Native学习网址:http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html //Flex布局 阮一峰http://wiki.jikexueyuan.com/project/react-native-lesson/ react -nativehttp://www.lcode.org/re原创 2016-12-01 17:10:13 · 549 阅读 · 0 评论 -
获取网页加载进度条
用WKWebView:https://github.com/Telerik-Verified-Plugins/WKWebView原创 2016-12-01 17:24:02 · 847 阅读 · 0 评论 -
CocoaPods使用
iOS 最新版 CocoaPods 的安装流程1.移除现有Ruby默认源$gem sources --remove https://rubygems.org/2.使用新的源$gem sources -a https://ruby.taobao.org/3.验证新源是否替换成功$gem sources -l4.安装CocoaPods(1原创 2016-01-11 09:42:30 · 800 阅读 · 0 评论 -
QQ空间,微博空间图片的保真剪裁显示使用UIViewContentModeScaleAspectFill
图片填充的几种模式UIViewContentMode:typedef enum { UIViewContentModeScaleToFill, UIViewContentModeScaleAspectFit, // contents scaled to fit with fixed aspect. remainder is transparent原创 2016-05-13 13:56:55 · 531 阅读 · 0 评论 -
escape解密
+ (NSString *)replaceUnicodeTest:(NSString *)test{// test为需要解码的字符串 NSString *body = test; NSMutableString *mutableStr = [[NSMutableStringalloc] initWithCapacity:1]; NSScanner*scanne原创 2016-12-09 17:37:04 · 531 阅读 · 0 评论 -
这个第三方是用的MPMoviePlayerController,而iOS9之后要用AVPlayerViewController这个了
原创 2016-11-10 16:31:13 · 1364 阅读 · 0 评论 -
AppStore审核支付功能被拒
-Does your app access any paid content or services?No, this service provided by 3rd party provider (Chinese Alipay Company)-What are the paid content or services, and what are the costs?To原创 2016-11-10 11:41:29 · 2052 阅读 · 0 评论 -
使用cocospod报错Unable to satisfy the following requirements解决方案
今天从git上面download我们项目,然后向往常一样安装Cocoapods,但是却突然发现报错了,尝试了几遍,发现一直报错。然后我这才看了一下,安装Cocoapods的日志,发现抛出了一个报错。[!] Unable to satisfy the following requirements:- `MJExtension` requ原创 2016-10-19 18:42:27 · 724 阅读 · 0 评论 -
1分钟快速解决Apple苹果加速审核流程
12345.6.原创 2016-10-19 18:01:32 · 1290 阅读 · 0 评论 -
开发者中心证书报错Program License Agreement updated解决方法
Program License Agreement updatedThe 'Apple Developer Program License Agreement' has been updated. In order to access certain membership resources, you must accept the latest license agr原创 2016-10-18 00:41:51 · 20332 阅读 · 1 评论 -
xcode8 图片imageview图片圆角不显示的bug
翻了下墙查了一下,在imageView调用clipToBounds的之前,[super awakeFromNib]之后,加上[self.contentView layoutIfNeeded];就可以了,反正我是解决了!原创 2016-10-19 23:50:11 · 1564 阅读 · 0 评论 -
iOS游戏开发之Game Center研究
// 作者: 卞翔// 联系QQ: 1023537528// iOS技术交流群: 160603792// GitHub:https://github.com/bianxiang// 优快云:http://blog.youkuaiyun.com/bx_jobsGame Center概述GameCtr_aware_GameFlow_2x.png原创 2016-09-06 12:30:50 · 3924 阅读 · 0 评论 -
提升逼格Get - 玩转Xcode之修改系统生成的注释模板(类似极光推送等等)
欢迎加入QQ群交流:160603792注:若修改文件权限为读与写后还是不能修改文件,可以将上级文件修改为读与写//// adff.swift// test-swift//// Created by xiaoxiao on 16/8/1.// Copyright © 2016年 xiaoxiao. All rights reserved./原创 2016-08-01 18:56:02 · 575 阅读 · 0 评论 -
关于swift归档解档后台新增字段解档出来的nil的解决办法
name = aDecoder.decodeObject(forKey:"name") as!String? ?? "bbxx"原创 2016-12-16 11:39:28 · 871 阅读 · 0 评论 -
关于iOS10使用collectionview
遇到了一个很奇怪的问题,在iphone6 ios9上每一个子控制器可以进viewwillappear,在iphone6splus ios10上不进viewwillappear,后来了解到ios10对collectionview优化预加载什么的,我改成了 if #available(iOS 10.0, *) {collectionView.isPrefetchingEnabled = false原创 2016-12-16 18:49:07 · 1039 阅读 · 0 评论 -
swift调oc,报错Build input file cannot be found....../xxx.profdata
原创 2019-09-12 15:05:39 · 788 阅读 · 0 评论 -
【iOS逆向】iOS越狱流程和越狱查看其它APP的UI层级Reveal的使用全流程
1.越狱流程关注香蕉TECH-->输入越狱,如下图:若不能使用,请至其它平台下载UncOver2.点击Jailbreak点击后自动重启会出现Cydia图标代表越狱成功3.若打开Cydia闪退,解决方法打开UncOver-->设置-->打开ReinstallCydia,打开ReloadDaemons,打开Reset Cydia ...原创 2019-09-02 11:00:27 · 2228 阅读 · 0 评论 -
正在通过app store进行鉴定解决方案
终端依次执行以下指令cd ~mv .itmstransporter/ .old_itmstransporter/ "/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter" 执行完毕后重新使用 Application Loader ...原创 2019-08-27 10:31:17 · 2222 阅读 · 0 评论 -
申请苹果个人开发者账号流程
申请苹果个人开发者账号流程一、准备工作一个APPID账号 一张visa或者万事达(master)信用卡注意:如果没有APPID需要先申请一个苹果账号进入注册页注册时填写的主要信息有姓氏、名字、国家、出生日期、邮箱、密码、密码保护问题、图片验证码,邮箱验证码。注意填写的内容必须为全英文,不得出现中文。三个密保问题、答案,保存到本地,以后找回密码使用。申请APPI...原创 2019-08-06 11:54:52 · 666 阅读 · 0 评论 -
Mac安装软件时提示“已损坏,打不开”的解决方法
从网上下载的Sketch、Principle等设计软件,以及输入法等常用软件,安装时总是提示“已损坏,移至废纸篓”这类信息,根本无法打开。如下图:其实,这是新系统(macOS Sierra 10.12.X)惹的祸。新系统加强了安全机制,默认不允许用户自行下载安装应用程序,只能从Mac App Store里安装应用。解决方法步骤一:打开终端(按F4启动Launchpad,终端默认在“...原创 2019-07-04 16:43:32 · 2409 阅读 · 0 评论 -
iOS把ipa安装包生成对外下载链接的方式(企业打包)
生成ipa提交到一个服务器上,生成外链(必须是https)https://raw.githubusercontent.com/yangtianyan/HookLive4iPhone/master/live4iphone.ipa 在生成两个icon,512*512,57*57,提交上服务器,生成外链(必须是https)https://raw.githubusercontent.com/...原创 2019-07-08 14:55:12 · 4406 阅读 · 0 评论 -
2019最新版iOS面试题大全
1、设计模式是什么? 你知道哪些设计模式,并简要叙述?设计模式是一种编码经验,就是用比较成熟的逻辑去处理某一种类型的事情。1). MVC模式:Model View Control,把模型 视图 控制器 层进行解耦合编写。2). MVVM模式:Model View ViewModel 把模型 视图 业务逻辑 层进行解耦和编写。3). 单例模式:通过static关键词,声明全局变量。在整个...原创 2019-04-28 14:58:34 · 524 阅读 · 0 评论 -
missing beta-reports-active
aps-environmentdevelopment beta-reports-active keychain-access-groups$(AppIdentifierPrefix)cn.catlottery.app在.entitlements文件中增加字段:beta-reports-active原创 2018-04-17 14:49:15 · 713 阅读 · 0 评论 -
Linphone iOS 编译
在写这篇文章之前非常感谢@快捷键 大大的无私奉献和指导!linphone编译的版本为当前最新的3.14版。在github的地址是:https://github.com/BelledonneCommunications/linphone-iphone编译的时候参考README.md 文件中 Buiding and customizing the SDK 指导。按照上面的步骤:1.安装 Hom原创 2018-01-10 15:48:43 · 964 阅读 · 0 评论 -
git文件过大
git config --global http.postBuffer 524288000原创 2018-01-17 15:29:01 · 823 阅读 · 0 评论 -
xcode中的方法command+左键不能进行索引跳转的解决方法
xcode command+左键不能跳转的解决方法工程中默认都有跳转功能,就是在command+鼠标可以实现函数的跳转,但是有时会出现Symbol not found,这是因为工程的索引文件被破坏了,/Users/XXX/Library/Developer/Xcode/DerivedData中把相应的工程的文件夹删除就行了。原创 2015-12-25 17:26:18 · 7087 阅读 · 0 评论 -
xcode account登录不上去sign apple id -> this action could not be completed. try again
xcode account登录不上去sign apple id -> this action could not be completed. try again解决方法===>sudo mkdir -p /Users/Sharedsudo chown root:wheel /Users/Sharedsudo chmod -R 1777 /Users/Shared原创 2017-11-16 13:55:17 · 6095 阅读 · 0 评论 -
如何在XCode上禁用indexing
您好, 在Mac Lion下使用XCode 4时,调试大型的工程,速度慢得让人无语。划到一个地方,就可能让你一顿慢悠悠的等待。XCode 4的indexing系统消耗太大,这会导致在调试时经常会卡住。它带来的好处很多,比如自动补全、查找定义等。 如果想禁用,打开一个终端 terminal 输入 defaults write com.apple.dt.XCode IDEIndexDisable 1原创 2017-12-08 14:59:40 · 904 阅读 · 1 评论 -
cocapods 更新第三方库遇到的问题
(1)卡在Updating local specs repositoriespod install 被墙了,请大家换成pod install --verbose --no-repo-update(2)出现这种警告Your Podfile has had smart quotes sanitised. To avoid issues in the future, you sho原创 2016-11-14 14:58:36 · 424 阅读 · 0 评论 -
使用百度地图时一个小误区, "_OBJC_CLASS_$_BMKMapManager", referenced from:
原创 2016-08-04 19:48:50 · 1566 阅读 · 0 评论 -
iOS打印json为乱码为中文
Foundation+Log.m#import @implementation NSDictionary (Log)- (NSString *)descriptionWithLocale:(id)locale{ NSMutableString *str = [NSMutableStringstring]; [str原创 2016-08-15 18:01:37 · 1133 阅读 · 0 评论 -
Xcode6:The file couldn’t be opened because you don’t have permission to view it
1、前言最近为了兼容iOS8升级到Xcode6.0编译之前的工程,结果App无法在真机上运行。报错如下:The file “xxxx.app” couldn’t be opened because you don’t have permission to view it2、解决方法查看工程中警告,发现需要更新旧工程的设置:点击Upate to reconmm原创 2016-07-08 18:13:52 · 851 阅读 · 0 评论 -
Mac如何找到从AppStore下载的正版Xcode安装包
前言:本文介绍在Mac下如何找到AppStore下载的安装包路径,以及如何提取出来供以后使用,希望对大家有所帮助(前提:想要提取某个安装包,前提是你正在从AppStore安装这个程序。比如你想提取imovie的安装包,前提是你必须正在从AppStore下载、安装这个程序)正文:第一步,你要打开"活动监视器"第二步,找到进程"storedownloadd"(以原创 2016-02-03 19:32:16 · 7029 阅读 · 0 评论 -
pch文件常用的宏
//// Constants.h// FitnessTest//// Created by hubing on 15/9/18.// Copyright (c) 2015年 hubing. All rights reserved.//#ifndef FitnessTest_Constants_h#define Fi原创 2016-01-15 14:57:44 · 578 阅读 · 0 评论 -
iOS开发----Xcode第三方插件command+B后安装不了的解决办法
小伙伴们在升级了 Xcode7 之后有些插件不能使用了.现在提供如下解决办法:1. 首先查看 Xcode 的 UUID,在终端执行defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID会得到一串 UUID 码2. 找到 Xcode 插件所在的目录原创 2015-12-25 11:28:50 · 1486 阅读 · 0 评论 -
使iOS开发提高极大效率的不为人知的技巧~~
结合自身的实践开发经验总结出了22个iOS开发的小技巧,以非常欢乐的语调轻松解决开发过程中所遇到的各种苦逼难题,光读着便已忍俊不禁。1.TableView不显示没内容的Cell怎么办?类似于图1,我不想让下面的那些空显示。很简单,添加“self.tableView.tableFooterView =[[UIView alloc] init];”试过都说好,加完这句之后就变成了图2的样子。原创 2015-12-06 13:18:51 · 1343 阅读 · 0 评论