Posts

Post not yet marked as solved
1 Replies
170 Views
I use PHPhotoLibrary in iOS to save JPG files to the camera roll. There is a difference in the date and time displayed in the "Photos" app depending on whether the 24-hour display setting in iOS is set to On or Off when saving. When saving with "24-hour display: Off", the date and time in the Exif of the JGP file is displayed. When saved with "24 Hour Display: On", the date and time when the file was saved is displayed. JPG files are saved with the following code. HPhotoLibrary.shared().performChanges({ PHAssetChangeRequest.creationRequestForAssetFromImage(atFileURL: jpgFileUrl) }, completionHandler: { (success: Bool, error: Error?) in print("success=\(success), error=\(String(describing: error))") }) Is this an iOS specification or a bug? Or is there a problem with the code? I would appreciate it if you could provide me with some information. Thank you in advance.
Posted
by m.masa.
Last updated
.
Post not yet marked as solved
9 Replies
3.6k Views
Now I'm working on developing iOS application which need the function of FTP client.And I'm looking for an available OSS(Library) of FTP client but couldn't find good one.Now I'm implementing the application with Swift4(XCode9.2, iOS11SDK)My requirements for the OSS are below:Support passive mode, FTPS, port select, make/remove folder, SSL Implicit mode(optional)Avoid deprecated API as far as possibleCurrently maintainedMIT or BSD LicenseIf you know other recommended FTP client OSS for iOS, please let me know.I'd appreciate if you would provide me helpful information.So far I've found the following OSS.[GoldRaccoon]<https://github.com/albertodebortoli/GoldRaccoon>I've tested FTP file upload with sample Application and it succeeded.No update for nearly 4 years.Has Deprecated API such as `CFWriteStreamCreateWithFTPURL`[rebekka]<https://github.com/Constantine-Fry/rebekka>Written in Swift2Has Deprecated API such as `CFWriteStreamCreateWithFTPURL`I'm working on building for this OSS with Xcode9.2(Swift4). But it doesn't yet.[FileProvider]<https://github.com/amosavian/FileProvider>Written in Swift4 and maintained even now. But no sample application.I'm trying to create test application for this OSS. But it doesn't work yet.
Posted
by m.masa.
Last updated
.
Post not yet marked as solved
2 Replies
1.9k Views
3rd-Gen iPad Pro has USB-C connector.I want to access USB device by PTP/MTP protocol through USB-C wired connection.If you know any Framework or API to realize it, please let me know.I couldn't find it in Apple Developer Documentation.https://developer.apple.com/documentation/Thank you.
Posted
by m.masa.
Last updated
.
Post not yet marked as solved
4 Replies
691 Views
I have the following problem about NEHotspotConfiguration.Even after deleting [Wi-Fi configuretion profile], NEHotspotConfiguretionManager.shared.apply returns systemConfiguration error.Install [Wi-Fi configuration profile] created in my application.Manually delete Wi-Fi configuration profile installed in [1.]In my application, try to connect Wi-Fi access point.Get systemConfiguretion error for the connection requeest in [3.]. NEHotspotConfigurationError.systemConfiguration(= 10)My code is like below, let accsessPointAConfig = NEHotspotConfiguration(ssid: A.ssid, passphrase: A.pass, isWEP: false) NEHotspotConfigurationManager.shared.apply(accsessPointAConfig)I expect my application can connect Wi-Fi access point with NEHotspotConfigurationManager after removing [Wi-Fi configuretion profile].I've also observed strange behaviors.Wi-Fi configuration profile was deleted but I could connect the Access Point in [Settings] of iOS.[Settings] > [Wi-Fi] > [Info button]. There wasn't [Forget this network] button.I'd appreciate it if you would tell me the cause or solution of this issue.Thank you.
Posted
by m.masa.
Last updated
.