Solved

push and local notifications

Posted on 2011-09-07
3
541 Views
Last Modified: 2012-05-12
i'm using xcode 4.1.  How do you setup and run push and local notifications?  I can't find a good tutorial on them.  I already have my provision profiles setup and certificates.  Just need to know how to code them and how to shoot them out when something is updated.
0
Comment
Question by:BTMExpert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
mad_mac earned 500 total points
ID: 36503264
With a local notification it is just a case of instantiating a UILocalNotification and scheduling it with the scheduleLocalNotification method of UIApplication, it's very simple to do.

Push notification are generally generated in a back end service somewhere and not on the local device, such as an auction site.  Good tutorial on push can be found here http://mobile.tutsplus.com/tutorials/iphone/iphone-sdk_apns/

0
 

Author Comment

by:BTMExpert
ID: 36503295
i seen another tutorial saying edit the Edit Active Target  but i don't know how in xcode 4.1.  It doesn't look the same so i don't know how to go about that.  I want to make my own server to push to apple's server.  Just need to know how to go about that.  I understand the local notifications now, thanks
0
 
LVL 5

Expert Comment

by:mad_mac
ID: 36503439
In terms of editing your target, select the top level project object, normally your project name.  The editor space should change to have a split pane view, the left pane has project and targets in it.  Select the target and edit away...

To do what you would like to do you will need to revert to good old C code.  Have a look at this tutorial on how to setup a basic push server in C.  http://blog.toshsoft.de/index.php?/archives/3-Sending-Apple-Push-Notifications-APN-in-C-Updated-Using-CA-Cert.html
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface   In the first 100 days of the Macintosh release in January 1984, Apple sold 72,000 of the computers. Relatively cheap, easy-to-use personal computer with a graphical operating system. I've never seen this model. I did see this one:   …
CocoaPods is the best way to manage library dependencies in iOS and OS X projects. By using cocoa pods there is no need of downloading the code from github and copying to your project. There are plenty of open source libraries now available with C…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question