iOS 面试题库

文章出处,原创于 https://HawkingOuYang.github.io/

我的GitHub


What is the difference between In House versus Ad Hoc distribution for Enterprise apps?

Why is the App Store and Ad Hoc button greyed out when I try to create a distribution certificate?

Apple enterprise program distribution questions

iTunes Connect: How to chose a good SKU?

Does bundle id need to be case sensitive?

Distributing iOS Apps With iTunes Connect

CFBundleVersion in the Info.plist Upload Error

CFBundleVersion must be a period separated list of at most three non negative integers

You must provide a screenshot for 5.5-inch Retina display, because your app binary supports 5.5-inch Retina displays” while building in Xcode 5.1

How to publish an almost identical version of my iOS app in a different location

xCode6制作动态及静态Framework (Good)

How to Create a Framework for iOS 8 on Xcode 6

1.1 CFTypeRef 和 NSType 的桥接
1.2 CFTypeRef 和 NSType 的桥接

2. Toll-Free Bridged Types

3.1 block 造成retain Cycle。

3.2 block 造成retain Cycle。

4. core data 轻量迁移

5.1 NSOperation vs Grand Central Dispatch

5.1 NSOperation vs Grand Central Dispatch

深入理解GCD

Does dispatch_async(dispatch_get_main_queue(), ^{…}); wait until done?

Understanding dispatch_async

dispatch_async on main_queue?

6.1 NSNotificationCenter vs delegation

6.1 NSNotificationCenter vs delegation

7.1 Runtime vs Compile time

7.2 Runtime vs Compile time

深入Objective-C的动态特性

8. 转发与多继承

9. MVC和MVVM

  1. NSOperationQueue, NSOperation, NSThread.

并发编程:API 及挑战

常见的后台实践

11. iOS Provisioning and Certifcates - Will Revoke/Renew effect App Store Apps?

12. io: ios app development option greyed out

13. If I revoke an existing distribution certificate, will it mess up anything with existing apps?

14. IOS Multiple Developer Certificates per One Login / One Apple ID / One Development Machine

问题:对于 已经上线AppStore的app,撤销发布证书,影响到已经上线的app吗?
答案:不影响。既不影响用户下载AppStore的app,也不影响开发者去更新这个AppStore上面的app。
证据:iOS Provisioning and Certifcates - Will Revoke/Renew effect App Store Apps?
但是,会影响企业版的app —— 撤销 发布证书,企业版本 就不能使用了。

How to create P12 certificate for iOS distribution

15. Developing for iOS on multiple computers, testing on a single device, advice?

16. How do I transfer my iOS developer profile to another computer?

App上传AppStore之后,内测人员,外测人员, 测试之后,提交审核。

  1. 线程安全,NSRunLoop,CFRunLoopRef。

http://objccn.io/issue-2-4/

http://blog.csdn.net/horkychen/article/details/8134917

http://www.cnblogs.com/GarveyCalvin/p/4206009.html

http://junewong.com/run_loops.html

http://blog.csdn.net/wzzvictory/article/details/9237973

http://oncenote.com/2015/03/22/Threading-Run-Loop/

http://lianxu.me/2012/11/10-cocoa-objc-newbie-problems/

http://www.dreamingwish.com/article/ios-multithread-program-runloop-the.html

14. 正确使用Block避免Cycle Retain和Crash

15.1 What are the common use cases for __IPHONE_OS_VERSION_MAX_ALLOWED?

15.2 What are the common use cases for __IPHONE_OS_VERSION_MAX_ALLOWED?

How to #define based on iOS version?

http://stackoverflow.com/questions/3269344/what-is-difference-between-these-2-macros/3269562#3269562

IPHONE_7_0 IPHONE_8_3 等
IPHONE_OS_VERSION_MIN_REQUIRED IPHONE_OS_VERSION_MAX_ALLOWED
Deployment target
SDK version
iPhone操作系统版本
这些之间的关系。

How to check iOS version?

16. 上线规则 App Store Review Guidelines

17. Add local repo for existing Xcode 5 Project

18. Handling application:willChangeStatusBarFrame:

Resize for in-call status bar?

19. App store 审核上传Advertising Identifier查找和IDFA

苹果AppStore被拒理由大全

iOS app submission missing 64 bit support

http://stackoverflow.com/questions/26790554/ios-app-submission-missing-64-bit-support

http://stackoverflow.com/questions/28312779/why-the-missing-64-bit-support-happened-when-upload-to-the-itunes-connect

http://stackoverflow.com/questions/26945699/app-submission-on-app-store-gives-warning-missing-64-bit-support

http://stackoverflow.com/questions/30186906/itms-90086-missing-64-bit-support

http://blog.csdn.net/sinat_25471067/article/details/43733315

对比iOS网络组件:AFNetworking VS ASIHTTPRequest

Core Data VS Sqlite or FMDB…?

支持coredata:http://stackoverflow.com/questions/8723923/core-data-vs-sqlite-or-fmdb

支持fmdb: http://objccn.io/issue-4-3/

Notification与多线程,NSNotificationCenter的线程安全性

19. Git的使用感受

What are the differences between BitBucket and GitHub?

GitHub vs. Bitbucket vs. GitLab

How to Create Free Private Code Repositories using GitHub

Ry’s Git Tutorial

iOSDeveloperTips

Does dispatch_async(dispatch_get_main_queue(), ^{…}); wait until done?

奔溃统计工具 fabric

Working in Teams - Fabric was designed for working in teams.

翻墙工具MacGo

What happens if an api your app uses is deprecated after your app is released?

ios how to use Images.xcassets

Xcode 6 - xcassets for universal image support

Use of xcassets

iOS7初体验(3)——图像资源Images Assets

图像资源Images Assets

ios7 (xcode5)新特性-asset catalog与image slicing

About Asset Catalogs

Accidentally removed xcassets file from XCode project

GitHub 上都有哪些值得关注学习的 iOS 开源项目?

http://blog.csdn.net/u014632353/article/details/45332319

http://www.jianshu.com/p/3625796aaf98

http://foggry.com/blog/2014/04/25/githubyou-xiu-xiang-mu-ios/

如何在Github上为开源贡献力量?

极光推送

What is *.o file?

What is a .a (as libcrypto.a) file?

Library (.a file) or framework in iOS, what is a better choice

How can I create static library and can add just .a file on any project in ios

what is a dylib?

libz.dylib versus libz.1.2.3.dylib versus libz.1.2.5.dylib

Xcode中系统库文件libz.dylib的作用

Whats the dSYM and how to use it? (iOS SDK)

How is a .dSYM file created?

iphone: Where the .dSYM file is located in crash report

Crashlog links to which .dSYM

分析iOS Crash文件:符号化iOS Crash文件的3种方法

Symbolicating iPhone App Crash Reports

issue with uploading dSYM to crashlytics

If you aren’t seeing the dSYM alert, you can go to your app’s settings page, and append “/mappings” to the URL to reach it, e.g.

mail正则表达式, 邮箱正则表达式

Check that an email address is valid on iOS

What are best practices for validating email addresses in Objective-C for iOS 2.0

iPhone / iOS SDK 最酷的特性之一就是应用将其自身”绑定”到一个自定义 URL scheme 上,该 scheme 用于从浏览器或其他应用中启动本应用, iOS使用schema协议调起APP

iOS Inside-App Schema

About Apple URL Schemes

自定义 URL Scheme 完全指南

通过手机浏览器,打开ios设备上应用/通过url schema打开本地应用

Managing Schemes

Iphone apps that supports URL schema

How to change the name of the active scheme in XCode?

Xcode: What is a target and scheme in plain language?

understanding xCode schemes

push通知__配置plist文件
You’ve implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add “remote-notification” to the list of your supported UIBackgroundModes in your Info.plist.

Apple移动设备处理器指令集 armv6、armv7、armv7s及arm64

UIViewController的生命周期和didReceiveMemoryWarning后的流程

在iOS客户端实现google oauth2登录以及在asp.net服务端上form认证

how-to-use-xcode-for-android-projects : Xcode能搞Android ?

comparing-xcode-and-android : Xcode能搞Android ?

关于手机的序列号,UDID,IMEI,IMSI,ICCID详解

iOS唯一标示

iOS7以后,我们如何统计和跟踪用户

在 iOS 7 中获取唯一标识符

如何使用KeyChain保存和获取UDID

ios 利用钥匙串保存密码和获取密码

Simple iPhone Keychain Access

iOS开发妙招:用广告识别符替代恶心的UDID

百度云?极光?个推?

How is a tag different from a branch? Which should I use, here?

扫描二维码自动识别手机APP下载地址

扫描二维码自动识别手机系统(Android/IOS)跳转不同页面

扫描一张二维码,跳转到不同下载地址

我们希望让用户通过扫二维码下载apk,但是微信屏蔽了这种方式,有没有方法可以实现?

iOS8 通知的变化

When to use Storyboard and when to use XIBs

associated-objects

How do pointer to pointers work in C? —— double pointer

NSMapTable: 不只是一个能放weak指针的 NSDictionary

[Objective-C] NSArray的二分查找

http://www.zhihu.com/question/19604641

  1. 什么是arc?(arc是为了解决什么问题诞生的?)

  2. 请解释以下keywords的区别: assign vs weak, block vs weak

  3. __block在arc和非arc下含义一样吗?

  4. 使用atomic一定是线程安全的吗?

  5. 描述一个你遇到过的retain cycle例子。(别撒谎,你肯定遇到过)

  6. +(void)load; +(void)initialize;有什么用处?

  7. 为什么其他语言里叫函数调用, objective c里则是给对象发消息(或者谈下对runtime的理解)

  8. 什么是method swizzling?

  9. UIView和CALayer是啥关系?

  10. 如何高性能的给UIImageView加个圆角?(不准说layer.cornerRadius!)

  11. 使用drawRect有什么影响?(这个可深可浅,你至少得用过。。)

  12. ASIHttpRequest或者SDWebImage里面给UIImageView加载图片的逻辑是什么样的?(把UIImageView放到UITableViewCell里面问更赞)

  13. 麻烦你设计个简单的图片内存缓存器(移除策略是一定要说的)

  14. 讲讲你用Instrument优化动画性能的经历吧(别问我什么是Instrument)

  15. loadView是干嘛用的?

  16. viewWillLayoutSubView你总是知道的。。

  17. GCD里面有哪几种Queue?你自己建立过串行queue吗?背后的线程模型是什么样的?

  18. 用过coredata或者sqlite吗?读写是分线程的吗?遇到过死锁没?咋解决的?

  19. http的post和get啥区别?(区别挺多的,麻烦多说点)

  20. 我知道你大学毕业过后就没接触过算法数据结构了,但是请你一定告诉我什么是Binary search tree? search的时间复杂度是多少?我很想知道。