Questions tagged [notificationcenter]

Notification Center is an interface designed by Apple that allows users to easily view notifications from all applications in one view. Notification Center is available in iOS 5 and up.

Notification Center is an interface designed by Apple that allows users to easily view notifications from all applications in one view. Notification Center is activated by dragging down from the devices status bar (top of screen), and removed similarly by dragging up from the bottom of the screen.

Options for Notification Center include:

  • Weather widget (powered by Yahoo)
  • Stocks widget (powered by Yahoo)
  • Sort by time
  • Sort manually (allows users to manually arrange the order in which notifications will appear from top to bottom)
  • Ability to enable/disable notifications for individual applications

Notification Center is available in iOS 5 and up.

242 questions
0
votes
1 answer

Toggle messages preview in notification center with applescript/quicksilver

Haven't ever scripted with apple script before was wondering if it was possible to create an applescript that could toggle the settings for messages in the notification that displays the message preview. I was then gonna use quicksilver to call that…
shreddish
  • 1,637
  • 8
  • 24
  • 38
0
votes
1 answer

Limit the number of notifications in status bar iPhone

How can I limit the number of notifications shown in status bar? To be more precise I want to limit my app to only have one notification in status bar at a time. I want the latest notification replace the previous notification produced by my app.…
Thriller
  • 485
  • 4
  • 11
0
votes
0 answers

iOS UILabel in scrollview appears as block

I am a novice to objective-c and developing my first app, a notification-center widget, compiled by "theos" to .deb Its pretty straightforward: I want to create an Uiscrollview, to scroll (horizontally) through multiple pages, which are added as…
flok3r
  • 1
  • 1
  • 2
0
votes
1 answer

iOS: badge counter vs. Notification center

I am a bit (a lot) confused about the Notification Center and the app badge counter. I have designed an iOS to-do app which uses local notifications to alert users of a scheduled reminder (which they set in the app) . The app also uses the icon…
Syl Mulder
  • 81
  • 2
  • 3
  • 10
0
votes
1 answer

Applescript an app to change background of notification centre in mountain lion

I wanted to create an app to change the background of the notification centre so applescripted it. Someone please tell me what's wrong with my code. set NCBGPath to "/System/Library/CoreServices/Notification Center/Contents/Resources/" set…
0
votes
2 answers

ViewController and Notification Center (the view, not the design pattern :p)

I have a viewController that includes a live camera feed. Like many app, in the viewWillAppear and viewWillDisappear methods, I both start and stop the camera. Like many times and situations, it seems that the viewWillDisappear is always called and…
0
votes
1 answer

How can a notification widget get app's setting?

I am attemping to write a weather notification center widget which works the way like system's Yahoo weather widget: tap the widget, open my own weather app, select a city and the widget show the weather of the city i chose. But I don't know how the…
0
votes
1 answer

add notifications to notification center panel

I have an iOS 5 pager application. Application can receive new message counter from server. For example application received 5 as a response from server. So no I need to create new (or update existing) notification in notification center panel and…
user1385666
  • 357
  • 1
  • 7
  • 17
0
votes
2 answers

iOS - Add message to NotificationCenter/MessageCenter

I have a real problem to access the notification/message center (the one with the weather widget). The only thing I want to do is, getting a notification text there and I really find no tutorial or anything else ... May someone please give me a…
matttrakker
  • 204
  • 3
  • 15
-1
votes
1 answer

What exactly is the default NotificationCenter property?

I want to create an additional NotificationCenter instance to separate my internal notifications from system notifications. However, when I looked at the class implementation, I did not understand what I was looking at. open class NotificationCenter…
lurning too koad
  • 2,698
  • 1
  • 17
  • 47
-1
votes
1 answer

observe whether all textfields of an array of textfields are empty or not

class Form { @IBOutlet var fieldsToClear: [UITextField]! //Outlet collection of 20 textfields of the form screen var allFieldsAreEmpty : Bool = false // variable to change when ever any of the textfield changes } I have 20…
Jaseel.Dev
  • 730
  • 1
  • 7
  • 19
-1
votes
1 answer

How can I print all notifications from NotificationCenter in SwiftUI?

For general debugging I thought it would be really useful to find out all notifications being published by NotificationCenter and print them to the console. I couldn't find a post on this so I thought I would share how I achieved this.
tim
  • 57
  • 7
-1
votes
1 answer

How to move data backward from third viewcontroller to first viewcontrlloer using notification center?

I have 3 view controller. I have passed object from first to second and second to third viewcontroller and now editing some data in third viewcontroller and trying send updated data object back to first viewcontroller using notification center. But…
New iOS Dev
  • 1,937
  • 7
  • 33
  • 67
-1
votes
1 answer

Notifications from NotificationCenter while debugging

How can I ensure, that an observer within a NotificationCenter is called only once - especially when the app crashes/has to be stopped by Xcode? Let's assume I want to print the notification NSNotification.WhatHaveYou. init() { …
Michael Dorner
  • 17,587
  • 13
  • 87
  • 117
-1
votes
2 answers

Use NotificationCenter to add Observer in swift 3

I understand that the NotificationCenter has changed, and I have looked up how to change it to the new implementation, using this link: NotificationCenter issue on Swift 3, but i still cannot get mine to work! I am doing an assignment from my class…
skyleguy
  • 979
  • 3
  • 19
  • 35
1 2 3
16
17