- 浏览: 28422 次
- 性别:
- 来自: 韶关
最近访客 更多访客>>
文章分类
- 全部博客 (35)
- Hibernate (1)
- java (1)
- Algorithm (2)
- Project Euler (4)
- struts2 (1)
- Java Web (3)
- Design Patterns (0)
- Data Base (1)
- JavaScript (0)
- EveryDay (0)
- Spring (0)
- project (1)
- doc (0)
- ios (13)
- ios小伎俩 (2)
- Body Sensor (1)
- CPP (0)
- sencha touch (0)
- Reading Notes (0)
- Keyword (1)
- UNIX (1)
- Memo (1)
- Project Management (1)
- Work Log (1)
- NodeJs (1)
- Mac OS (1)
- Web (0)
- Computer Vision (0)
最新评论
Accounts
AirPlay
APIs
NSNetService
class and CFNetService APIs do no include P2P interfaces by default. To browse, register, or resolve services over P2P interfaces, an application needs to use the Bonjour DNSService*()
APIs noted below.kDNSServiceInterfaceIndexAny
in the following API’s will not include P2P interfaces by default. To include P2P interfaces, you must now set thekDNSServiceFlagsIncludeP2P
flag when using kDNSServiceInterfaceIndexAny
or set the interfaceIndex to kDNSServiceInterfaceIndexP2P
. The affected APIs are:
DNSServiceBrowse
DNSServiceRegister
DNSServiceResolve
DNSServiceRegisterRecord
DNSServiceQueryRecord
API Validation
Apple TV
Automatic Reference Counting
Error in format of file: <path>
.If encountered, the user should switch to Simulator and retry the migration.Binary Compatibility
GameKit
iCloud Backup
iCloud Storage
NSMetadataQuery
class, you must set a predicate and the predicate is now honored. But the predicate is an NSPredicate
-style predicate, not a Spotlight-style predicate. An example of the difference is that you must use LIKE
instead of =
for wildcard matching. The differences are defined in more detail at:http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Predicates/Articles/pSpotlightComparison.html#//apple_ref/doc/uid/TP40002370-SW1.setSortDescriptors:
method of NSMetadataQuery
is not supported.URLForUbiquityContainerIdentifier:
method of NSFileManager
must include the team ID at the beginning of the string. As a convenience, you can pass nil
to retrieve the first document container ID specified in your app’s entitlements.NSFilePresenter
protocol—do not receive some of the messages that they are supposed to receive, including:
presentedSubitemDidChangeAtURL:
relinquishPresentedItemToWriter:
method and check to see if the writer actually wrote when your file presenter reacquires the file.
~/Library/Logs/CrashReporter/MobileDevice/DeviceName/DiagnosticLogs
.iTunes
Music Player
Security
Springboard
UI Automation
performTaskWithPathArgumentsTimeout
method of UIAHost
in a UI Automation script where the API outputs excessively (say, thousands of lines of text) to standard out or standard error, the task may deadlock until the timeout is reached, at which point it will throw a JavaScript exception.lock()
and unlock()
functions of UIATarget
have been replaced with the lockForDuration(
<seconds>)
function.
instruments -w <device id> -t <template> <application>
instruments -w <device id> -t /Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate <application> -e UIASCRIPT <script> -e UIARESULTSPATH <results path>
UIKit
viewWillLayoutSubviews
call when it is redisplayed, and the interfaceOrientation
property can be queried from this method and used to lay out the controller correctly.UIPickerView
class doesn’t send its pickerView:didSelectRow:inComponent:
delegate message in response to the programatic selection of an item.nil
from the tableView:viewForHeaderInSection:
method (or its footer equivalent) is no longer sufficient to hide a header. You must override tableView:heightForHeaderInSection:
and return0.0
to hide a header.UITableView
class has two methods to move one cell from one row to another with defined parameters. These APIs are:
moveSection:toSection:
moveRowAtIndexPath:toIndexPath:
UIWebView
class in Interface Builder, setting a transparent background color is possible in iOS 5. Developers compiling against the new SDK can check their XIB for the UIWebView
transparent setting.UINavigationBar
, UIToolbar
, and UITabBar
implementations have changed so that the drawRect:
method is not called unless it is implemented in a subclass. Apps that have re-implementeddrawRect:
in a category on any of these classes will find that the drawRect:
method isn’t called. UIKit does link-checking to keep the method from being called in apps linked before iOS 5 but does not support this design on iOS 5 or later. Apps can either:
UINavigationBar
(or the other bar classes) and override drawRect:
in the subclass.indexPathForRow:inSection:
, section
, and row
methods of NSIndexPath
now use NSInteger
instead of NSUInteger
, so that these types match with methods defined on UITableView
.UITableView
class’s scrollToRowAtIndexPath:atScrollPosition:animated:
method has changed. If a scroll position of UITableViewScrollPositionTop
orUITableViewScrollPositionBottom
is specified, the method now adjusts for the top and bottom portions of the contentInset
property.UIPopoverController
class would unconditionally set the autoresizing masks of view controllers that provided the content for the popover controller. It would also unconditionally set the autoresizing masks of the views of view controllers pushed on to a UINavigationController
object which was the content view controller of the popover controller.The UIPopoverController
class no longer does this for applications linked against iOS 5 or later. Developers should ensure that the autoresizing masks of views are set properly to allow for arbitrary resizing within any container, not just popovers. A mask of (
UIViewAutoresizingFlexibleWidth
|
UIViewAutoresizingFlexibleHeight
)
is reasonable.saveToURL:forSaveOperation:completionHandler:
is called outside of the coordinated write block.autosaveWithCompletionHandler:
method is now only called for period-based saves when it is safe to return without saving. Documents must save, though, if thesaveToURL:forSaveOperation:completionHandler:
method is invoked.Safari and WebKit
-webkit-overflow-scrolling
, is available. The value touch
allows the web developer to opt in to native-style scrolling in an overflow:scroll
element. The default value for this property is auto
, which allows single-finger scrolling without momentum.
<input type=number>
form field, which includes removing leading zeros and number formatting.<input type=range>
is now supported.window.onerror
is now supported.UIWebView
back to native code, make sure that the scheme is always lowercase, or that the native code compares the scheme in a case-insensitive manner.Wi-Fi Syncing
发表评论
-
The table of contents in Xcode4
2011-07-08 17:26 864Terminal输入: sudo egrep -lRZ ... -
How to add static library file
2011-07-01 17:55 8331、以xcode的静态库文件模板创建静态库文件; 2、注意类 ... -
iPhone 处理大文件(MD5)
2011-06-13 14:22 1276+(NSString*)fileMD5:(NSStrin ... -
Pre Load
2011-04-30 16:06 699在app store中的很多应用程序非常的笨重,他们有好的界面 ... -
Using Video
2011-04-26 10:59 0记录和编辑视频 从IOS 3.0开始就可以在提供了 ... -
Core Animation
2011-04-23 03:31 668大纲: 什么是Core Animation? 几何 ... -
UIView
2011-04-23 03:08 0p.p1 {margin: 0.0px 0.0px ... -
View Programming
2011-04-21 02:50 4281、用UIKit做简单动画,用core animation做更 ... -
各种函数
2011-04-21 01:03 6621、保存图片到相册(有camera roll保存到camera ... -
关于IOS中的DataSource(数据源)
2011-01-02 15:34 1472数据源是应用程序的模型、视图、还是控制器部分?数据源好像应该是 ... -
ios小记
2010-12-29 14:50 784遵守NSCopying协议的类的实例才能发送copy消息,当 ... -
UIPopoverController的presentPopoverViewWithRect:inView
2010-12-29 12:41 671UIPopoverController中的prese ... -
学习C
2010-12-22 13:33 0C作为一门历史悠久的编 ... -
SwitchView相關概念
2010-12-14 09:48 01、每个视图控制器(包括多视图控制器)都控制一个内容视图,应用 ... -
纸上谈兵-iPhone
2010-12-04 21:46 01、[[NSString alloc] initWithFor ... -
iphone開發中的內存分配
2010-12-02 16:54 9371、內存分配、釋放成對出現 2、注意copy,reta ... -
關於delegate
2010-12-01 14:22 1176UIApplication接收事件,UIApplicat ...
相关推荐
iOS 8 brings enhancements to the Cocoa Touch frameworks for making next generation apps on iOS. Learn about updates to view controllers, the introduction of size classes, and get an overview of all ...
Xcode is the development environment for creating amazing apps for iOS and OS X. This session also provides a complete overview of the in-depth developer tools topics covered at WWDC 2014.
By writing clean, expressive, and maintainable Swift code, you'll be able to pull in the iOS 9 SDK's enormous feature set to deliver mobile applications. In this completely revised third edition, you...
Learn Design for iOS Development is for you if you’re an iOS developer and you want to design your own apps to look great and be in tune with the latest Apple guidelines. You’ll learn how to design ...
#### What’s New in Swift 4 - **Strings and Collection Types:** In Swift 4, strings have received significant enhancements, making them more powerful and easier to work with. Additionally, the `Set` ...
What geo app development features the new iOS brings to the iPhone How to get your app to work with iCloud and more Who this book is for This book is for aspiring iPhone app developers, new to the iOS...
You'll start building and revising a real app that's written entirely in Apple's new Swift programming language. You'll send network requests and handle the responses, build from one screen to many, ...
Chapter 5: Whatʼs New in Layout......................... 100 Chapter 6: Beginning Drag and Drop................... 120 Chapter 7: Advanced Drag and Drop ................... 141 Chapter 8: Document ...
5. **What's New in Auto Layout**:iOS 11对自动布局系统进行了优化,新增了NSLayoutAnchor的便捷API,简化了约束的创建过程,让布局设计更为直观。 6. **Document-Based Apps**:iOS 11加强了文档管理,支持多...
Details Title: Beginning iPhone Development with Swift 5: Exploring the iOS SDK, 5th Edition ...Aspiring iOS app developers new to the Apple Swift programming language and/or the iOS SDK
Jim Campagno is an iOS developer and teacher living in New York City. He's currently working as an iOS instructor at the Flatiron School, helping beginners of Swift and iOS become iOS developers. Jim...
Bill Stouder-Studenmund, CoreOS•What’s New in Apple Filesystems•Protecting system software on macOS •APFS volume replication •External files for iOSAPFS Refresher Default filesystem on iOS ...
There's coverage of brand new technologies, with chapters on storyboards and iCloud, for example, as well as significant updates to existing chapters to bring them in line with all the changes that ...