Solved

push and local notifications

Posted on 2011-09-07
3
535 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Iphone Development on Windows in Virtual machine 2 632
Code-signing a Mac App 3 1,276
Apple Automator to view a list of URLs from a text file 3 1,423
Android development question 2 81
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:   …
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

730 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