newsstand-kit

iOS 7 Newsstand default cover is not set

情到浓时终转凉″ 提交于 2020-01-06 01:30:11
问题 Since iOS7 the default cover that is set in the info.plist under Icon Files (iOS 5) are not shown after installation the app. Instead the default cover by Apple is shown. I can see that this property is for iOS 5 but I tried other as well. An example - Icon Files could not be changed from an Array to a Dictionary. Do you know how to set a default cover for Newsstand app in iOS 7? Best Regards! 回答1: OK i got the solution.Add Icon files (iOS 5) if you didnt add previously in your app-info.plist

Newsstand restarts the download on Resuming

送分小仙女□ 提交于 2020-01-05 04:40:30
问题 I'm having difficulty in resuming the download using NewsstandKit . The Download does starts in Background Mode but when App Resumes to Active Mode , The totalBytesWritten are changed to 0 and it starts the download again. The Code works on Simulator, but fails on device. I've been using the code from ios - newsstand-tutorial link. Also the Sample code works perfectly,but when i assign my URL to it, the download breaks on resume. Does it has to do some thing with the Server?? 回答1: I had this

Newsstand resume download after the App closed by user Fully

删除回忆录丶 提交于 2020-01-03 05:23:09
问题 How do we resume a download after the user quits the app, not just put into background? My code looks like this to start the download initially, I want to be able to identify here as to if the issue can be resumed. NSMutableURLRequest *nkRequest = [NSMutableURLRequest requestWithURL:url cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData timeoutInterval:30.0]; NKLibrary *library = [NKLibrary sharedLibrary]; NKIssue *issue = [library addIssueWithName:[downloadInfo objectForKey

Link to app manage subscriptions in app store

折月煮酒 提交于 2019-12-31 08:28:11
问题 Currently with In app purchase the only way to cancel an auto-renewing subscription is to do the following with the device: Settings > Store > View my account > Manage my subscription Is it possible programmatically to link directly to the Manage my subscription page in the app store? I know I can open the app store via something like NSURL *url = [NSURL URLWithString:@"itms-apps://itunes.apple.com"]; [[UIApplication sharedApplication] openURL:url]; I have seen other apps do this but I can't

What happened after NKIssue download terminated due to network unavailability?

别来无恙 提交于 2019-12-24 09:52:14
问题 I have a NewsStand app where when user taps on download button we download issue using [nkAssetDownload downloadWithDelegate:self]; Now in between downloading suppose network disconnects, NSURLConnection calls didFailWithError:(NSError *)error method. I inform this to user with an alert and update UI so that download button get enabled. Now when user taps on "download" button, I check for if(nkIssue.downloadingAssets.count == 1) { again start download with [nkIssue.downloadingAssets

Newsstand App download when app is closed

旧街凉风 提交于 2019-12-23 18:51:05
问题 I am implementing a newsstand magazine app, which receives new issues via Urban Airship push notifications. This works fine, as long as the app is in foreground or background, but as far as I know, the download should also be triggered when the app is completely closed. But sending a push with "content-available":1 in the payload does not do anything if my app is closed. I set the required background mode in the targets properties and I use NKDontThrottleNewsstandContentNotifications to avoid

How many Product-ids to create for Subscription in iPhoneSDK

不打扰是莪最后的温柔 提交于 2019-12-22 10:57:44
问题 For your information, I have already implemented In-app Purchase in the application and it is working fine with Content Hosting at Apple as well as Server Model .I have logic in my app to check whether user has already downloaded the content ,if not download it using NKIssue as it is Newsstand app. Here is the my requirement for Subscription : There is one issue of the magazine published each month. What I want is for users to subscribe i.e. for 3,6,12 months, and during this time, they

How many Product-ids to create for Subscription in iPhoneSDK

依然范特西╮ 提交于 2019-12-22 10:56:34
问题 For your information, I have already implemented In-app Purchase in the application and it is working fine with Content Hosting at Apple as well as Server Model .I have logic in my app to check whether user has already downloaded the content ,if not download it using NKIssue as it is Newsstand app. Here is the my requirement for Subscription : There is one issue of the magazine published each month. What I want is for users to subscribe i.e. for 3,6,12 months, and during this time, they

Is it possible to cancel an NKAssetDownload?

♀尐吖头ヾ 提交于 2019-12-22 08:49:25
问题 I have a magazine reader on the App Store. I'm implementing NewsstandKit features at the moment. My app has this download workflow where users can cancel current downloads at anytime. I want to enable users to purchase an in-app product and begin that download as a newsstand background download (magazines include multimedia so they are kind of big files) but still preserve that option of they had on previous versions where they could cancel downloads. Is it possible to achieve this with

Detecting background app launch in Xcode to debug a Newsstand app

与世无争的帅哥 提交于 2019-12-11 13:58:54
问题 I'm trying to breakpoint didFinishLaunchingWithOptions in my app delegate to capture the app being launched (in the background) when a newsstand issue download completes after the app was terminated. I believe it could happen for example if a user manually requests a download and then terminates the app. On the info tab of the run scheme in the Xcode scheme editor there is an option to wait for the app to launch. The comment below it says that it is to be used when you want to launch your app