Different notification icons in push notifications
Hello everyone, I've been looking everywhere and as far as I understand, the following is not actually possible, but.. could you guys confirm? Is it possible to have different icons for different push notifications on the same iOS application? For example: let's say that I'm displaying a Banner notification as described here: https://developer.apple.com/library/ios/documentation/UserExperience/Concept ual/MobileHIG/NotificationCenter.html the icon displayed will be the app icon included in the info.plist, right? Is there any chance to have different icons instead? (one icon for a "POSITIVE/APPROVED/ETC" notification and other ICON for "DENIED/NEGATIVE/ETC" notification..) Thanks in advance, Claudio M. E. Bastos Iorio ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Job postings at Cocoa mailing list
Thanks everyone for you help. Sorry if this was already discussed, and since apparently we have the moderators paying attention to this thread.. could you guys confirm if it is OK to post job openings in this mailing list or not? Thanks in advance. On Tuesday, February 3, 2015, Chris Hanson wrote: > On Feb 2, 2015, at 5:54 PM, Michael Crawford > wrote: > > > Last I heard, the admin of the lists that I knew about was Chris > Hansen, chan...@apple.com > > > > I’m one of the moderators, not an admin. (Also it’s “Hanson” not “Hansen,” > but I’m quite used to that!) > > cocoa-dev-adm...@lists.apple.com > is the > best way to get in touch with the list admins. > > -- Chris > > -- Sent from Gmail Mobile ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Job postings at Cocoa mailing list
Hello everyone, I've tried to contact adm...@lists.apple.com in order to check about posting job openings policies in this mailing list (my company is currently looking for iOS/Cocoa devs) but my email bounced. If you guys are looking for a full time job please contact me in private for further details. If this email goes against policies, disregard it and please accept my sincere apologies. Thanks in advance. -- Sent from Gmail Mobile ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: Issues with applications running on background (Alarm Application)
Hello everyone, Thanks so much for all your responses. I think that I will rely only on the Local Notifications then. Claudio M. E. Bastos Iorio -Original Message- From: Mike Abdullah [mailto:mabdul...@karelia.com] Sent: Wednesday, December 17, 2014 9:56 AM To: Fritz Anderson Cc: Claudio Maximiliano Edison Bastos Iorio; Cocoa-dev@lists.apple.com Subject: Re: Issues with applications running on background (Alarm Application) > On 17 Dec 2014, at 17:18, Fritz Anderson wrote: > >> On Dec 16, 2014, at 9:55 PM, Claudio Maximiliano Edison Bastos Iorio >> wrote: >> >> soundName property is OK, and allows to use any embedded sound. But there’s >> no way to load any custom view dispatched right from the LocalNotification, >> at least no with a previous user interaction. >> >> I’ve just found UIApplication’s beginBackgroundTaskWithExpirationHandler, >> who allows me to run a background task. >> Based on Apple, the purpose of this background task is for instance to >> complete a server request when the app goes to background. >> >> I still need to check if this is a proper solution, however, I wonder if >> Apple will allow me to use this task to keep my Application running on the >> background. Do you guys have any idea about that? > > You should study the documentation again, taking care against confirmation > bias. beginBackground… really is for brief completions. iOS will allow you > ten minutes at most. You are subject to eviction at any time before, so you > must structure your task to tolerate its not completing. Within those > constraints, you can do whatever you like in that time. > > If it's a matter of a download, which I gather it isn't, look at the > NSURLDownload family. I think you mean NSURLSession here. NSURLDownload is Mac-only and semi-deprecated in favour of URL Sessions. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: Issues with applications running on background (Alarm Application)
Hi Jens, “What behavior, that you've seen in an existing 3rd party app, are you trying to implement?” Good question. I’m not really sure if the features that I’m trying to implement are actually doable on iOS :( For most of the alarm apps out there, AFAIK they are using Local Notifications. I was expecting to display a custom view / display a sound / bring an app to the foreground at any given time. Local Notifications seems to be the closer that I can get. Is there any other way to build something like that? AFAIK, remote notifications works pretty much the same as Local Notifications, right? Thanks in advance. Claudio M. E. Bastos Iorio From: Jens Alfke [mailto:j...@mooseyard.com] Sent: Tuesday, December 16, 2014 8:56 PM To: Claudio Maximiliano Edison Bastos Iorio Cc: Cocoa-dev@lists.apple.com Subject: Re: Issues with applications running on background (Alarm Application) On Dec 16, 2014, at 7:55 PM, Claudio Maximiliano Edison Bastos Iorio mailto:selecter...@gmail.com> > wrote: soundName property is OK, and allows to use any embedded sound. But there’s no way to load any custom view dispatched right from the LocalNotification, at least no with a previous user interaction. Correct. The notification does not start up your app or run any app code. You don't have much control over the display of a local notification. All you can specify is the wording and a sound and a numeric app badge. If the user presses a button in the notification, that can launch your app. What behavior, that you've seen in an existing 3rd party app, are you trying to implement? —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
RE: Issues with applications running on background (Alarm Application)
Thanks Kyle, based on my debugging, the default limit is 180 secs. But you can start the process again, and fire up a new background task. Claudio M. E. Bastos Iorio -Original Message- From: Kyle Sluder [mailto:k...@ksluder.com] Sent: Tuesday, December 16, 2014 8:06 PM To: Claudio Maximiliano Edison Bastos Iorio Cc: Jens Alfke; Cocoa-dev@lists.apple.com Subject: Re: Issues with applications running on background (Alarm Application) On Dec 16, 2014, at 7:55 PM, Claudio Maximiliano Edison Bastos Iorio wrote: > > I still need to check if this is a proper solution, however, I wonder if > Apple will allow me to use this task to keep my Application running on the > background. Do you guys have any idea about that? No. There is a hard limit of how long a background task will keep an app alive. (It’s on the order of a few minutes.) --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Issues with applications running on background (Alarm Application)
Hello everyone, I’m just starting with iOS and this is my first question on this list. So please, apologies if this is a newbie question. I’m trying to build a simple Alarm app. The application needs to show a custom image + play a custom sound when the alarm is dispatched. · I’ve started by using UILocalNotification, however, when my app goes to background, I’m receiving the scheduled Notification, as expected, but I didn’t find a way to load my custom image or playing the custom sound. I’ve found several examples of Alarm apps on github using this approach, but it doesn’t look the right approach for me · I’ve also tried to use a NSTimer and iterate an array of alarms. This approach works while my application is on the forground. But as soon as it goes to background, the timer stops. What do you think? What’s the best approach to build something like this? Thanks in advance. -- Sent from Gmail Mobile ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com