Thread Events & NSURLConnections...


okay here's question thats gonna kinda messy me explain lemme try best....

have app...

app (among other things following)

1: reads few xml files

2: connects synchronously device on network using soap call , parse more xml data

3: threads-out thread open asynchronous connection yet soap service , listens xml status messages (this stays open until app quits).

4: displays list of items (obtained 1 of many xml data parses) on iphone/ipod screen... , change items listed xml status messages come in async connection step 3....

shock , amazement got working , doesn't crash -- not yet anyway! (lol).

got approved 'official iphone development program' , paid 99 bucks , can debug app directly on ipod touch (instead of simulator)... did stuff needed app moved on device , app still works!! happy happy joy joy!

on problem/question...

when ipod touch got 'sleep mode' (screen blanks) near can tell asynchronous connection gets torn down... i'm sure battery saving thing , it's okay... how add code app reconnect asynchronous connection , more point, when asynchronous connection killed did thread terminated too?

i'm new cocoa i'm not sure how/where find answers questions...

if has insight/advice/input i'm ears!

in advance!

dave
 

hi davegee

iapp developing similar yours. have problem using nsthread (should connection xmlrpc in background)
kind , post code including nsthread here?
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Upgrade Eligibility?

need help with itunes 7.7

How to change Apple IDs on iPhones