美文网首页
IOS 开发灵异事件 长久更新

IOS 开发灵异事件 长久更新

作者: sunxu_cocoa | 来源:发表于2017-07-27 17:35 被阅读0次

更换LaunchScreen.storyboard启动图无法正常显示

更换完LaunchScreen.storyBoard的图片后,仍然显示被替换掉的图片,即使将原来的图片删除任然这样,对Xcode进行Clean也没有效果,最后发现了一种解决方案;

Xcode有时候在LaunchScreen.storyBoard中修改了启动图片之后,运行却没有效果,直接白屏,而往storyboard中拖插件是可以显示的,设置成Assets.xcassets中的其他图片也是可以的,就只有新拉进去的图片无效.

解决方案:手机删除应用,手机重启,Xcode进行clean,xcode run起来吧,现在应该好了。

参考链接:https://www.jianshu.com/p/1b30e7229780

1. tableView 刷新某个区时会有抖动,刷新整个表却没有问题

2.关于UILabel设置了attributedText富文本之后超出显示后没有省略号,解决办法

设置完 self.titleLabel.attributedText = attributedString之后设置

self.titleLabel.lineBreakMode = NSLineBreakByTruncatingTail

3.在viewDidLoad方法里面创建view并添加到window上,但有时候不显示。

这个问题在于self.view的创建的时机,通过在viewDidLoad方法里输出self.view的父视图发现是空的,也就是此时self.view还没添加到父视图,所以你添加的view被self.view所覆盖。解决办法在viewDidAppear方法添加。

4.ios 11自定义view的UIBarButtonItem,如果使用自动布局,那么约束之后view的size为0。解决办法UIBarButtonItem * item = [[UIBarButtonItem alloc]initWithCustomView:_leftView];

self.navigationItem.leftBarButtonItem = item;

[self performSelector:@selector(creatLeftView) withObject:nil afterDelay:0.2];

延迟一段时间再创建view的子视图

5.打包提交App Store成功,但一直不显示构建版本。

今天提交app简直日了狗了,死活没有构建版本。查看了开发者邮箱(就是你账号邮箱)反现了苹果给我的反馈

1.Dear developer,

We have discovered one or more issues with your recent delivery for "门诊新视野". To process your delivery, the following issues must be corrected:

Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

Though you are not required to fix the following issues, we wanted to make you aware of them:

Missing App Store Icon - iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via iTunes Connect, apps cannot be submitted for App Review or Beta App Review. Refer to https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ for more information.

Once the required corrections have been made, you can then redeliver the corrected binary.

Regards,

The App Store team

这么长的话其实就是两点。一没有添加NSCameraUsageDescription权限,二没有1024x1024px App Store Icon,这个是ios11有的。第一个问题我压根就没那个权限,为什么要添加,搞不定,算了它是老大,他说的算,我加就是了,然后再加一张1024x1024图标再提交就ok了

symbol(s) not found for architecture x86_64

今天被呆萌的同事坑了一把,交接我一个项目,然后各种编译错误,他在电脑上鼓捣了好一会,不行,然后我自己都各种百度,结果还是不行,最终我猜测是不是模拟器不支持,于是用手机跑了一把,居然可以了,然后他说忘记有个库只支持手机运行,我差点上去就是一个大脚。


显示包内容,用文本编辑器打开,搜索teamID,全部删了

tableView  reloadData之后自动滑到了顶部??

遇到一个很蛋疼的问题,tableview上拉加载之后刷新tableview,然后就自动滑到了顶部,最后找到是因为iOS 11 tableview的新特性导致的,需要设置

self.tableView.estimatedRowHeight = 0;

self.tableView.estimatedSectionHeaderHeight = 0;

self.tableView.estimatedSectionFooterHeight = 0;

ERROR ITMS-90060: "This bundle is invalid. The value for key CFBundleShortVersionString '1.9.9.1' in the Info.plist file must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring"

ERROR ITMS-90060: "This bundle is invalid. The value for key CFBundleShortVersionString '1.9.9.1' in the Info.plist file must be a period-separated list of at most three non-negative integers. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring"



相关文章

  • IOS 开发灵异事件 长久更新

    1. tableView 刷新某个区时会有抖动,刷新整个表却没有问题 2.关于UILabel设置了attribut...

  • 我经历过的灵异事件

    我经历过的灵异事件 年岁21,活得时间倒不算长久,却也经历过一件灵异事件。 我觉得,有些事信则有,不信则无,保持信...

  • 深度浅析 == 和 equals 的区别

    如果你没有深度分析过的话,那么这可能是一个非常灵异的事件。 灵异事件一: 灵异事件二: 灵异事件三: 灵异事件四:...

  • iOS 响应链

    iOS开发 - 事件传递响应链iOS 响应者链,事件的传递事件传递之响应链Cocoa Touch事件处理流程--响...

  • iOS开发调试技巧总结(链接)

    iOS开发调试技巧总结(持续更新中)

  • 二、事件传递链和响应者链

    iOS触摸事件详解iOS开发-事件传递响应链 响应者链 UIResponser包括了各种Touch message...

  • 12月第三周

    iOS-BLE蓝牙开发持续更新 - IOS - 伯乐在线 ReactiveCocoa 中 RACSignal 所有...

  • 香港维多利亚公园厕所灵异事件

    曾经在香港发生过很多真实的灵异事件,例如香港大学灵异事件、香港广告灵异事件等等,有的还被翻拍成了恐怖电影,有的至今...

  • 灵异故事

    封门村1963灵异事件 “封门村”是中国第一鬼村,封门村1963枕边鬼脸灵异事件更被称作“建国初期十大灵异事件之一...

  • React-Native开发中的灵异组件-列表

    灵异组件 众所周知,列表是移动开发中非常常用的组件(控件)。原生的列表,拿iOS来来说,有UITableView ...

网友评论

      本文标题:IOS 开发灵异事件 长久更新

      本文链接:https://www.haomeiwen.com/subject/rgxtlxtx.html