随笔分类 - IPhone
iOS8: Ignore manifest download, already have bundleID
摘要:在企业分发的app下载过程中,iOS8发现挂在官网上的企业版的app点击了提示是否安装应用程序,但始终安装不上程序,的device console发现安装的时候出现LoadExternalDownloadManifestOperation: Ignore manifest download, alr...
阅读全文
libc++
摘要:今天测试最新的微信iOS SDK, 仅仅是建了一个空的工程,把sdk加进去运行,就报了以下错误: Undefined symbols for architecture x86_64: "operator delete[](void*)", referenced from: +[WeChatApiUt
阅读全文
System Sounds: Alerts and Sound Effects
摘要:#include #include // Define a callback to be called when the sound is finished// playing. Useful when you need to free memory after playing.static vo...
阅读全文
SELF, self in CORE DATA
摘要:Predicate SELF Represents the object being evaluated. CORE DATA Retrieving Specific Objects If your application uses multiple contexts and you want to
阅读全文
dyld: Library not loaded...
摘要:Libraries and frameworks are designated as Required by default, but you can change this designation to Optional.Required libraries must be present on ...
阅读全文
Startup key combinations for Intel-based Macs
摘要:Learn about the startup key combinations you can use with Intel-based Macs. You can use the following startup key combinations with Intel-based Macs.
阅读全文
Debugging Process Startup
摘要:Debugging Process Startup Q: How do I debug a process's startup code? A: This depends on how the process is launched. For a typical application-level
阅读全文
Glossary
摘要:Glossary term terminology Certificate authority A norganization that authorizes a certificate. Certificate authority A norganization that authorizes a
阅读全文
Conntect Bluetooth devices in iOS.
摘要:I understand that the External Accessory framework in iOS 3.0 and later will allow my application to communicate with Bluetooth devices. So why doesn't my application see the Bluetooth accessory sitting next to my iPhone?A:The External Accessory framework is designed to allow iOS applications to
阅读全文
Why NSAttributedString import html must be on main thread?
摘要:The HTML importer should not be called from a background thread (that is, the options dictionary includesNSDocumentTypeDocumentAttribute with a value
阅读全文
IOS7 SDK 几宗罪
摘要:IOS7 app 默认是全屏模式,所以之前的程序窗口会上向移动到状态栏上面,所以在底边会有一条大白边表格单元格,默认是白色背景,之前程序设置的透明效果,这里不在起作用,需要用下面的委托方法改变。- (void)tableView:(UITableView*)tableViewwillDisplayCell:(UITableViewCell*)cellforRowAtIndexPath:(NSIndexPath*)indexPath表格委托方法- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInte
阅读全文
How to browse the entire documentation using XCode 5 Documentation and API Reference ?
摘要:file:///Users/yangiori/Library/Developer/Shared/Documentation/DocSets/com.apple.adc.documentation.AppleiOS7.0.iOSLibrary.docset/Contents/Resources/Documents/navigation/index.htmlA workaround - open your browser and go to:file:///Users/userName/Library/Developer/Shared/Documentation/DocSets/com.apple
阅读全文
High Precision Timers in iOS / OS X
摘要:High Precision Timers in iOS / OS XThe note will cover the do's and dont's of using high precision timers on iOS and OS X.High Precision Timers in iOS / OS XDo I need a high precision timer?A suggestion for synchronizing with display updatesHow do timers work?How do high precision timers wor
阅读全文
How do I prevent files from being backed up to iCloud and iTunes?
摘要:Technical Q&A QA1719How do I prevent files from being backed up to iCloud and iTunes?Q: My app has a number of files that need to be stored on the device permanently for my app to function properly offline. However, those files do not contain user data and don't need to be backed up. How can
阅读全文
在UIWebView视图中加载离线图片。
摘要://// InfoDetailViewController.m// StyleWeekly//// Created by Iori on 13-5-24.// Copyright (c) 2013年 Iori. All rights reserved.//#import "InfoDetai...
阅读全文
Unable to create any keyboard shortcuts after the iOS 6.1.3 update on iPad.
摘要:Unable to create any keyboard shortcuts after the iOS 6.1.3 update on iPad 3 I had two keyboard shortcuts on my device before updating to iOS 6.1.3. A
阅读全文
(转)IOS Table中Cell的重用reuse机制分析
摘要:- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = [NSString stringWithFormat:@"Cell"]; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell ...
阅读全文
The iPad Split-Keyboard and (Missing) Notifications
摘要:The iPad Split-Keyboard and (Missing) NotificationsPosted on May 19, 2012Developing an app that people actually use is a great way to discover holes in your knowlege of new APIs. I recently released a side project of mine for sale on the App Store under the nameOnePAD. It's an electronic pocket
阅读全文
Objective-c 包装类
摘要:NSValue Class Reference–initWithBytes:objCType:+valueWithBytes:objCType:+value:withObjCType:+valueWithNonretainedObject:+valueWithPointer:+valueWithRange:NSNumber Class ReferenceInherits fromNSValue:NSObject+numberWithBool:+numberWithChar:+numberWithDouble:+numberWithFloat:+numberWithInt:+numberWith
阅读全文