icloud

新入手的Mac,该如何设置?

徘徊边缘 提交于 2019-12-15 14:09:38
如果您入手了一台Mac。设置Mac的过程直观且易于执行,但是如果您是新手,可能会遇到有一些小麻烦。没关系,本篇文章小编将帮助您设置Mac,让您像专业人士一样迅速运转您的Mac。 设置前提 在开始设置全新的Mac之前,应首先执行一些步骤: 1、确保您的Mac已插入。 2、检查您的Internet连接是否稳定可靠。 3、如有必要,连接鼠标,键盘和显示器。保持所有其他外围设备未连接。 对这些准备工作进行排序后,就可以进入第一步了。 如何设置新Mac 1、打开电源。 2、屏幕上会出现一系列问题和提示。请按照下列步骤操作。 3、第一个提示将要求您选择一种语言。单击中文(或您希望Mac使用的语言。),然后单击继续。 4、接下来,选择您的位置。假设您要在中国设置新Mac,请选择“中国”,然后点击继续。 5、选择您的键盘布局。如果您之前选择中国作为您的国家,则只能选择中国。点击继续。 6、现在,系统将提示您选择Wi-Fi网络。滚动列表,然后单击您的Wi-Fi网络。 7、输入您的Wi-Fi网络密码,然后按继续。 8、接到Wi-Fi网络后,您可以选择从另一台Mac,Time Machine备份,启动盘或Windows PC传输数据。您还可以选择不传输任何数据。如果这是您第一次设置MacBook,请选择最后一个选项,然后单击“ 继续”。 9、使用您的Apple ID登录。如果没有Apple ID,请单击

Migrate iCloud data to Local store and stopping iCloud from still responding

☆樱花仙子☆ 提交于 2019-12-14 04:19:24
问题 I am so close to completing the implementation of iCloud and Core Data in my app. This is an iOS 7 only app. I am providing the user with an option within the app to say Use iCloud On or Off in the form of a UISwitch . The app starts out and asks the user if they want to use iCloud or not and this can then later be changed within the app. I have the data migrating from the local store (if it exists) to iCloud. The one aspect I'm struggling with is migrating the data from the iCloud Store to

Can I transfer CloudKit data to a new Container?

烂漫一生 提交于 2019-12-13 15:41:39
问题 I'm making a CloudKit app, and I'm faced with the choice of storing my data in the default container, accessible only by that app, or a custom container that can share data. For now I only need that app to access the data, so I would probably put my data in the default container. However, if eventually I want to access this data from a different app, can I transfer my user data to a custom, shareable container? 回答1: No need to transfer your data: the default container can be used from your

Strange issue for iCloud Ubiquity Container in Xcode 5.0

安稳与你 提交于 2019-12-13 07:44:32
问题 I have distributed my iPad/iPhone universal app "Consumptions" in the store. The app uses iCloud UIDocument to share the database between the devices. Works fine ;-) Now I want to develop an OS X pendant with access to the same iOS iCloud document. In Xcode/Capabilities I tried to add the Ubiquity Container from the iOS project to the Mac project but I get a red "!" in the Mac project. If I click on "Fix Issue" the "!" disappears on the Mac project but appears on the iOS project. Any hints?

iCloud not sync using ad-hoc provisioning profile

喜夏-厌秋 提交于 2019-12-13 05:31:12
问题 My App is working fine in development environment (Developer provision profile) and syncs OK with other devices using iCloud. When I use a Production certificate (for Ad-Hoc provisioning) the iCloud sync does not work anymore. Any thing I have to check ? Are there differences in provisioning profiles from iCloud point of view ? Thanks Dario 回答1: Unfortunately, Ad Hoc provisioning doesn't work with iCloud. 来源: https://stackoverflow.com/questions/20719618/icloud-not-sync-using-ad-hoc

How to show particular file format from iclouds derive in ios swift

萝らか妹 提交于 2019-12-13 03:47:13
问题 In my application upload the file from iclouds derive. want to upload xlsx, docx, txt. want to upload the xlsx file means from iclouds derive want to display only xlsx another files should not display.[docx,txt] same if the user want to display docx file means xlsx and txt ,xlsx file should not be display. Here my code @IBAction func moveiclouds_BtnClick(_ sender: Any) { let documentPicker = UIDocumentPickerViewController(documentTypes: [kUTTypePDF as String, "com.microsoft.word.doc", "com

Add assets to an iCloud shared photo album programmatically

丶灬走出姿态 提交于 2019-12-13 03:47:12
问题 Are there any limitations on using PhotoKit to add photos to Shared iCloud photo albums? While I can add new photos to AssetCollections that are regular albums, it does not work at all if the AssetCollection represents an iCloud sharing album. Do I also need to add a different type of PHAsset? If I change the fetchAssetCollections call to use .albumRegular instead of .albumCloudShared , the code below works. Otherwise I get an error: The operation couldn't be completed. (PHPhotosErrorDomain

NSMetadataQueryDidUpdateNotification Not Working

心不动则不痛 提交于 2019-12-13 02:53:44
问题 Can someone tell me what is wrong with the following code which I adapted from iOS 5 Developer's Cookbook - (void) startMonitoringUbiquitousDocumentsFolder { // Remove any existing query – stored in local instance variable if (alertQuery) [alertQuery stopQuery]; // Search for all file names alertQuery.predicate = [NSPredicate predicateWithFormat: @"NSMetadataItemFSNameKey == '*'"]; alertQuery.searchScopes = [NSArray arrayWithObject: NSMetadataQueryUbiquitousDocumentsScope]; // Subscribe to

How to Sync an NSDocument from iPad/iPhone to Mac osx with iCloud

坚强是说给别人听的谎言 提交于 2019-12-13 02:36:26
问题 How to Sync an nsdocument from ipad/iphone to Mac osx with icloud I managed to get it working! from Mac osx to iPhone/iPad but not from iPad/iPhone to Mac osx Here's my code from the subclassed nsdocument file on osx: Header file: #import <Cocoa/Cocoa.h> #import <Foundation/Foundation.h> @interface subclassedNSDocument : NSDocument @property (strong) NSData *myData; @end Implementation file: - (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName error:(NSError **)outError { BOOL

cannot call NSMetadataQueryDidUpdateNotification

喜你入骨 提交于 2019-12-13 02:27:21
问题 I want to track percentage of my uploaded file to icloud using NSMetadataQuery , but It didn't work. This is my code : dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^(void) { NSFileCoordinator* fileCoordinator = [[NSFileCoordinator alloc] initWithFilePresenter:nil]; [fileCoordinator coordinateReadingItemAtURL:backupUrl options:NSFileCoordinatorReadingWithoutChanges error:nil byAccessor:^(NSURL *newURL) { NSFileManager* fm = [NSFileManager defaultManager];