ios10.3

Gap above first table with using UISearchController

为君一笑 提交于 2019-12-12 23:23:15
问题 I am not able to remove gap over first table row when testing with iOS 10.3. I tried all solutions suggested on other posts like automaticallyAdjustsScrollViewInsets , added a dummy view above UITableView in hierarchy, e.g. here - but all without success. Here is the setup and scenario. I have a UIViewController that has UITableView. Calling it V1. it is embedded in a nav controller. I am adding UISearchController in viewDidLoad() to tableview header. I am not setting any constraints not

Xcode 8.3.2 Crashes when switching devices

浪子不回头ぞ 提交于 2019-12-12 05:49:17
问题 When I switch from generic device to my iphone, xcode unexpectedly quits. I've tried opening other projects (older and newer) and I get the same error. I did not have this error at all before updating to 8.3.2 Stack Trace: Application Specific Information: MainQueue: -[IDEProvisioningManager _performStateUpdateOnMainThreadForRepairable:updateBlock:]_block_invoke_2 ProductBuildVersion: 8E2002 ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-12175

Swift 3.1 - NSSuperScript in NSAttributedString not working as expected

谁说我不能喝 提交于 2019-12-08 06:56:33
问题 The application I am working on encountered an issue when testing with iOS 10.3 Simulator via XCode 8.3 beta 2, where the superscript in AttributedString displayed on the same line with normal text. For iOS 10.2.x and below, it is displaying correctly. iOS 10.3 screenshot: https://www.dropbox.com/s/p5v71g722cg5qhy/Screen%20Shot%202017-02-21%20at%2010.24.21%20AM.png?dl=0 iOS 10.2.x and below screenshot: https://www.dropbox.com/s/lcfsic6xyz953qp/Screen%20Shot%202017-02-21%20at%2010.19.17%20AM

Load Javascript files through HTML file on WKWebView in iOS

為{幸葍}努か 提交于 2019-12-07 18:26:28
问题 I have a requirement of loading Javascript files through HTML file. I have structured files in order shown in below screenshot. HTML head tag contains the Javascript files to call as below: <head> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <script type="text/javascript" src="AjaxCapturer.js"></script> <script type="text/javascript" src="authenticate.js"></script> </head> So I have been using UIWebView to load the page and its loading properly as

Load Javascript files through HTML file on WKWebView in iOS

流过昼夜 提交于 2019-12-06 08:46:00
I have a requirement of loading Javascript files through HTML file. I have structured files in order shown in below screenshot. HTML head tag contains the Javascript files to call as below: <head> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <script type="text/javascript" src="AjaxCapturer.js"></script> <script type="text/javascript" src="authenticate.js"></script> </head> So I have been using UIWebView to load the page and its loading properly as shown in below screenshot. Now if I run same thing using WKWebView then the page is keep on loading as

discoverAllIdentities & discoverUserIdentity returning nil for CKUserIdentity.lookupInfo as of iOS 10.3

旧时模样 提交于 2019-12-06 04:18:57
问题 CKContainer.discoverAllIdentities(completionHandler:), discoverUserIdentity(recordID: - completion handler returns CKUserIdentity but .lookupInfo is always nil even when contacts contain email, phone, etc. Other properties such as hasiCloudAccount, userRecordID, nameComponents are fine. This issue just started happening with recent Swift 3.1 release. Does anyone know if this is intended behavior as I have not been able to find any reference to CloudKit changes in release notes but this is

iOS 10.3 - How to change app icon programmatically [duplicate]

狂风中的少年 提交于 2019-12-05 23:45:48
问题 This question already has answers here : Alternate Icon in iOS 10.3 (2 answers) Closed 2 years ago . iOS 10.3 comes with dynamic app icon changing feature. Developers will now be able to change app icons without an app update. I want to change my app icon dynamically, how can i change my app icon programmatically. Thanks in advance. 回答1: Yes, iOS 10.3 finally gives developers the ability to change their app’s icon programmatically. It is possible to change appIcon from iOS 10.3. For that you

iOS 10.3 - How to change app icon programmatically [duplicate]

心不动则不痛 提交于 2019-12-04 04:18:57
This question already has an answer here: Alternate Icon in iOS 10.3 2 answers iOS 10.3 comes with dynamic app icon changing feature. Developers will now be able to change app icons without an app update. I want to change my app icon dynamically, how can i change my app icon programmatically. Thanks in advance. Yes, iOS 10.3 finally gives developers the ability to change their app’s icon programmatically. It is possible to change appIcon from iOS 10.3. For that you need to set supportsAlternateIcon to Yes in info.plist . Both primary and secondary icons should be added in CFBundleIcons key of

Cordova iOS 10.3.1 breaks input file for videos

杀马特。学长 韩版系。学妹 提交于 2019-12-03 08:27:57
This is similar to this much older issue: HTML file input with multi selection in UIWebView not working for videos This is NOT a duplicate of this: iOS update to 10.3.1 breaks HTML input element I have tested this on my app that was working, on versions going back 45 days, it seems iOS 10.3.1 changed the file input and now there is the multiple video selection, without the "compressing" stage that occurred after selection and before switching out of the interface. Tested on iphone 6S. When access the the video file via javascript, there is no size or content (compare to image at the bottom,

SKStoreReviewController how to detect that user has turned off Rate This App (RTA) in settings or 3 times limit has reached?

﹥>﹥吖頭↗ 提交于 2019-12-03 08:04:00
问题 Starting iOS 10.3, Apple is limiting the review prompt (Rate This App) to 3 times a year and it can be turned off in the user's settings. Q: How do we detect that the 3 times limit has reached or if the user has turned off RTA so in the app I won't show a popup saying: "Did you like the app? If yes, can you write a review? [Yes/No]" because then, if the user taps Yes, nothing will show up. There is really not much information here from the official documentation: https://developer.apple.com