1. 防止弱化的self在使用时被提前释放造成crash。

小笔记小笔记


2017面试题链接:

http://www.jianshu.com/p/f9eb6b315c08

http://www.cocoachina.com/ios/20150803/12872.html


苹果加急审核通道: https://developer.apple.com/contact/app-store/?topic=expedite (request an expedited app review)


iOS系统提示音大全: http://iphonedevwiki.net/index.php/AudioServices

AudioServicesPlaySystemSound (1007);


清除Xcode->Organizer界面左侧的无用的archive列表

command + shift + G 前往文件夹~/library/Developer/Xcode/products 删除不用的就可以了.


环信头像处理:

1.登录或更换头像存储自己的头像在本地

2.消息扩展,发送自己的头像url供另一台设备使用 (<EaseMessageViewController.m>_sendMessage:isNeedUpload:)

3.在收到消息中处理消息扩展,本地存储聊天对象的头像url和下载image存储,对应每个环信用户的id(<EaseMessageViewController.m> didReceviceMessages:)

4.在消息赋值展示的地方判断发送者(展示自己的头像),接收到他人的消息那么头像从本地缓存中获取,如果没有则使用消息扩展中的url(<EaseBaseMessageCell.m> setModel:)

5.会话列表头像展示,从缓存中取,如果没有则从消息扩展中使用url;然后存储最新消息附带的头像信息(EaseConversationListViewController.m)


备注,先修改自己服务器上用户的备注信息,然后在本地存储一份做记录


环信坑:1.发送语音要在主线程更新UI和播放动画 2.EaseUI国际化不起作用,全是英文

 

相册预览 icloud


App下载链接拼接:https://itunes.apple.com/cn/app/idxxxxxxxxx?mt=8

iOS真机支持文件路径:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

(比如让 Xcode9.0 支持 iOS11.3真机,只需下载相应的支持文件丢到该目录即可)


相关文章:

  • 2021-11-29
  • 2021-05-20
  • 2021-06-05
  • 2021-06-17
  • 2021-09-01
  • 2021-07-12
  • 2021-10-27
猜你喜欢
  • 2021-08-21
  • 2021-09-13
  • 2021-08-06
  • 2021-12-19
  • 2021-07-31
  • 2021-04-20
相关资源
相似解决方案