Archive 后只有 item 没 ios app:pod 版本问题
更新 pod:直接重装
部分机型停留在闪屏界面后闪退:project 的 code sign 可以 distribution,
target 不要 distribution
弹出框/下拉列表:let window = UIApplication.sharedApplication().keyWindow!
window.convertPoint(window.frame.origin, fromView: orderWrapView)
添加多余 view 可能导致最上面的不响应。暂时解决方法:去掉多余 view
重新登录时执行多次代理方法的问题:需要先移除队列再添加
xmppStreamPublic.removeDelegate(self, delegateQueue:
dispatch_get_main_queue()) xmppStreamPublic.addDelegate(self,
delegateQueue: dispatch_get_main_queue()),,, 或加在一次性方法中
手势变形:为防止叠加,sender.scale = 1,sender.setTranslation(CGPointZero,
inView: imageView)
线上更新:ssh lsdq cd /var/www/vhosts/www.lvsediqiu.com/ git pull
代码只在部分 ios 版本(8.0)可用的问题,尽量加上 else
很 久 不 写 启 动 项 : self.window = [[UIWindow
alloc]initWithFrame:UIScreen.mainScreen.bounds]; RootViewController *root
= [[RootViewController alloc]init]; self.window.rootViewController =
[[UINavigationController new]initWithRootViewController:root];
[self.window makeKeyAndVisible];
与 iTunes 共享,info.plist 中 UIFileSharingEnabled 为 YES
从启动看代 码,先 Main interface,xib/storyboard 可能看右侧第一项,再
appdelegate。
找不到桥文件:可能需要添加路径
需要在 pod 中 use_frameworks!,可能出现之后找不到桥文件的情况。暂时解
决方法:桥文件中注释掉所有 import,在需要用到的 swift 文件中 import 文件
夹。往往这种情况都是 swift 编写的。这样会自动嵌入 framework 中,若以后
评论0