苹果

App Store Binary Rejected - The seller and company names associated with your app do not reflect the name

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have recently uploaded a new application to iTunes Connect for the approval process. Its version is 1.0. Today the binary was rejected and the following was mentioned in the resolution center. Next Steps Once created, you cannot change your seller name or company name in iTunes Connect. For assistance with changing your company name or seller name, you will need to contact iTunes Connect through the Contact Us page. We have generated the application using the proper profiles. Any idea as to when this issue is raised by Apple? We could not

Silent push is not working when app is killed from app switcher in ios7

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am trying to send my updated location to a server whenever I receive a push notification. I am able to receive a push notification when I killed my app from switcher but my application : didReceiveRemoteNotification : fetchCompletionHandler delegate method is not called. I have spent five days resolving this issue without success. Please, if anybody has any idea about this that would be appreciated. Thanks in advance!! 回答1: Since ios7 apps which are killed from switcher do not receive push notifications. Documentation isn't clear

SWT.WebKit doesn't load: No More Handles - [Safari must be installed to use a SWT.WEBKIT-style Browser]

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm having trouble using SWT.WEBKIT as the Browser for a SWT-Based Java app, and I am now getting this stacktrace upon starting the application on a new machine: Exception in thread "main" org . eclipse . swt . SWTError : No more handles [ Safari mus t be installed to use a SWT . WEBKIT - style Browser ] at org . eclipse . swt . SWT . error ( Unknown Source ) at org . eclipse . swt . browser . WebKit . create ( Unknown Source ) at org . eclipse . swt . browser . Browser .< init >( Unknown Source ) [...] Now, I did follow all the

Apple Binary Rejected (2.16)

匿名 (未验证) 提交于 2019-12-03 07:50:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My app requires users current location to show him direction to a particular location in google map Below is the code to show location on web view- [self.getDirectionsWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://maps.google.com/maps?saddr=%f,%f&daddr=%f,%f",currentLocation.coordinate.latitude,currentLocation.coordinate.longitude,self.projectLatitude,self.projectLongitude]]]]; The app declares support for location in .plist by using NSLocationAlwaysUsageDescription and

Apple Push - didReceiveIncomingPushWithPayload not called - instead error: Failed sending message to client

匿名 (未验证) 提交于 2019-12-03 07:36:14
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have an app that uses pushkit (voip push). Most of the time the pushes get through. But when there is a lot of traffic, the pushes don't get through to the app. I am in a state where I can somehow reproduce the error. I used the extended logging from here: https://developer.apple.com/library/ios/technotes/tn2265/_index.html And I found this to examine the logging: http://iosdevelopertips.com/core-services/debug-failed-push-messages-by-logging-apsd-process.html Still, I got two different cases, where I just don't get further: - In the apsd

iOS 11 Crashed: com.apple.CFNetwork.Connection

匿名 (未验证) 提交于 2019-12-03 07:36:14
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am facing trouble to find out the cause of crash that happens significantly in iOS 11 versions of my app. I have tried to look out and explore but can't find the reason or nor reproduce it yet. Following is the stack trace provided by Fabric(Crashalytics). # Crashlytics - plaintext stacktrace downloaded by xxxx Mobile at Tue, 31 Oct 2017 05:39:03 GMT # Organization: xxxxx # Platform: ios # Application: xxxxx # Version: x.x (x.x.x) # Bundle Identifier: com.testApp # Issue #: 2 # Issue ID: xxxxxxxxxxx # Session ID: xxxxxxxxx # Date: xxxxxxxx

List 的删除

烈酒焚心 提交于 2019-12-03 07:21:37
List 不要在循环中使用remove 删除。可以新加一个List ,把符合条件的元素加入到这个list 中,然后调用removeAll 。 比如:(增强for 循环需要判断 list 是否是 null (可以是空的list,但是不可是null ,否则会报NullPointerException)) Apple apple1 = new Apple("1","tom","20"); Apple apple2 = new Apple("2","jack","30"); Apple apple3 = new Apple("2","dick","30"); List<Apple> arr1 = new ArrayList<>(); arr1.add(apple1); arr1.add(apple2);arr1.add(apple3); AppleDTO ato1 = new AppleDTO("tom","30","male"); AppleDTO ato2 = new AppleDTO("dick","30","female"); List<AppleDTO> arr2 = new ArrayList<>(); arr2.add(ato1); arr2.add(ato2); List<Apple> arr = new ArrayList<>(); for(Apple a1: arr1)

nginx配置wss

老子叫甜甜 提交于 2019-12-03 04:14:08
upstream websocket { server 127.0.0.1:9501;#wss配置代理到ws:127.0.0.1:9501 } server { listen 80; listen 443 ssl; server_name api.meigou.local.com; ####ssl须使用openssl生成 ssl_certificate /Users/apple/ssl/aliyun_server.pem; ssl_certificate /Users/apple/ssl/server.crt; ssl_certificate_key /Users/apple/ssl/aliyun_server.key; ssl_certificate_key /Users/apple/ssl/server.key; ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; #######openssl生成 #rewrite ^(.*)$ https://$host$1 permanent; #charset koi8-r; if ($time_iso8601 ~ "^(\d{4})-(\d{2})-(\d

如何优雅的选择字体(font-family)

一个人想着一个人 提交于 2019-12-03 04:07:41
基础知识 serif和sans-serif字体之间的区别 西文字体分为两大族:衬线体(serif)和无衬线体(sans-serif)。像Times、Times New Roman等都是属于衬线体,而Arial、helvetica则是属于无衬线体。 衬线字体,意思是在字的笔画开始、结束的地方有额外的装饰,而且笔画的粗细会有所不同。 无衬线体是无衬线字体,没有这些额外的装饰,而且笔画的粗细差不多。 在计算机屏幕上,sans-serif字体被认为是比serif字体容易阅读。 字体系列 ont-family 属性设置文本的字体系列。 font-family 属性应该设置几个字体名称作为一种"后备"机制,如果浏览器不支持第一种字体,他将尝试下一种字体。 注意 : 如果字体系列的名称超过一个字,它必须用引号,如Font Family:"宋体"。 各平台的默认字体情况 1、Window下: 宋体(SimSun) :Win下大部分游览器的默认字体, 宋体 在小字号下(如12px、14px)的显示效果还可以接受,但是字号一大就非常糟糕了,所以使用的时候要注意。 微软雅黑("Microsoft Yahei") :从 Vista 开始,微软提供了这款新的字体,一款无衬线的黑体类字体,并且拥有 Regular 、 Bold 两种粗细的字重,显著提高了字体的显示效果

iOS- Apple push notification resend from APNS

匿名 (未验证) 提交于 2019-12-03 03:10:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: From Apple's document I understand that if the device is offline, the APNS holds the last notification and sends it to the device when the device is back online. Is there is any mechanism to avoid that resending? 回答1: The answer is NO Here is what apple says about it, If APNs attempts to deliver a notification but the device is offline, the notification is stored for a limited period of time, and delivered to the device when it becomes available. Only one recent notification for a particular application is stored. If multiple notifications