ios10

Appcelerator : iOS 10 Apple Push Service not working

北慕城南 提交于 2019-12-25 04:10:10
问题 I'm working with SDK 5.5.1 I'm trying to send APS in production with my own nodejs server. Everything is working fine with publishing on device in development state. I get the device token and the notification is received by the device. In production, with the same certificate exports (with the production cert and p12), i can get the device token, but not receive the notification. Does anyone have a solution ? Here is my tiapp.xml <?xml version="1.0" encoding="UTF-8"?> <ti:app xmlns:ti="http:

Xcode: Increment build number

若如初见. 提交于 2019-12-24 18:48:32
问题 We use a script that creates a time stamp and replaces the apps build number. #!/bin/bash echo "Update Build Number to Timestamp" echo "--------------------------------" # fail on error set -e agvtool new-version -all $(date +%Y%m%d%H%M%S) This changes the build number to something like this: 201703241425 . We introduced an in-house framework to our Project. The command above also replaces the frameworks Build number and Current Library Version . However, the builds fail with the following

CallKit - displaying outgoing call into recent call list

末鹿安然 提交于 2019-12-24 10:56:38
问题 I am implementing a VoIP application, there I handled remote party for incoming call like - (NSUUID *)reportIncomingCallWithContactIdentifier:(NSString *)identifier name:(NSString *)name telNumber:(NSString *)telnum completion:(ADCallKitManagerCompletion)completion { NSUUID *callUUID = [NSUUID UUID]; CXCallUpdate *callUpdate = [[CXCallUpdate alloc] init]; //callUpdate.callerIdentifier = identifier; callUpdate.localizedCallerName = name; callUpdate.supportsHolding = NO; callUpdate

SKMaps(Skobbler maps) Integrated Application uploading error

泪湿孤枕 提交于 2019-12-24 08:14:16
问题 I have integrated SKMaps without pods in my app. When i were uploading it to App Store, it started throwing me error like this Does anyone have any solution? UPDATE I have added the script as provided here in this link:http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/ But after adding script, app started giving too many errors for other frameworks. UPDATE 2: I have checked this answer: Errors building Xcode Project after adding in Run Script fatal

Swift error Cannot convert value of type '(AFHTTPRequestOperation?, AnyObject?) -> ()

廉价感情. 提交于 2019-12-24 05:52:33
问题 After I update xcode Version 8.0 (8A218a) swift 3, I got this error Cannot convert value of type '(AFHTTPRequestOperation?, AnyObject?) -> ()' to expected argument type '((AFHTTPRequestOperation?, Any?) -> Void)!' This is the following code that's shown error above. jsonmanager.post( "http://myapi.com", parameters: nil, success: { (operation: AFHTTPRequestOperation!,responseObject: AnyObject!) in if(responseObject.object(forKey: "meta")?.object(forKey: "status")?.intValue == 200){.... Am i

Swift error Cannot convert value of type '(AFHTTPRequestOperation?, AnyObject?) -> ()

我的梦境 提交于 2019-12-24 05:52:21
问题 After I update xcode Version 8.0 (8A218a) swift 3, I got this error Cannot convert value of type '(AFHTTPRequestOperation?, AnyObject?) -> ()' to expected argument type '((AFHTTPRequestOperation?, Any?) -> Void)!' This is the following code that's shown error above. jsonmanager.post( "http://myapi.com", parameters: nil, success: { (operation: AFHTTPRequestOperation!,responseObject: AnyObject!) in if(responseObject.object(forKey: "meta")?.object(forKey: "status")?.intValue == 200){.... Am i

How to keep navigation bar from disappearing with MSMessagesViewController -> UIContainerView -> UINavigationController -> UITableViewController?

倖福魔咒の 提交于 2019-12-24 05:49:58
问题 I am trying to put a navigation controller with a table view controller within an iMessage app (iOS 10). This seems to work when I put the UINavigationController within an UIContainerView within the MSMessagesViewController . However, this breaks when in expanded view. The UINavigationBar that the controller has disappears. How can I remedy this, or am I taking the wrong approach? 回答1: Let me start with the assumption that you used view.addSubview to add your UITableViewController to the

Xcode 8 CoreGraphics issue with iPhone 7 (running iOS 10)

无人久伴 提交于 2019-12-24 05:45:16
问题 I'm using an iPhone 7 running iOS 10 (doesn't appear to matter which version of iOS 10, but it has to be an iPhone 7 device...even an iPhone 6s with the same version of iOS 10 doesn't have this issue). Unfortunately, I don't have the ability to try an iPhone 7 running iOS 9 or below. In my app, I'm using this method to mask an image with another image: - (UIImage *)imageWithMask:(UIImage *)maskImage { UIImage *returnImage = nil; CGImageRef maskRef = maskImage.CGImage; CGImageRef mask =

Sticker Pack Interface Builder Storyboard Compiler Error Group

匆匆过客 提交于 2019-12-24 03:24:02
问题 WWDC 2016 came up with a new concept of creating Sticker Pack & push it to store from iOS10 onwards. I downloaded XCode 8 Beta, & tried to create a sticker pack app for the message extensions. I did everything as explained but on building the project I am getting error Interface Builder Storyboard Compiler Error Group Strange thing is for Sticker Pack we don't need to write any code, but still it is showing error of Interface Builder. I am getting this error under build time I have also

UICollectionView deselectItem when cell pre-fetching is enabled

有些话、适合烂在心里 提交于 2019-12-24 02:17:31
问题 On iOS 10.0, UICollectionView pre-fetches cells by default. This leads to cells that are prepared for being shown on screen, but are hidden. This question describes it really well. The following code will successfully deselect an index path when its cell is either visible or does not exist at all. If the cell exists and is hidden, the index path will be deselected, but the cell becomes stuck in the selected state until it is reused. collectionView!.deselectItem(at: indexPath, animated: false)