I want to call web service in Objetive C which returning xml data and I have to pass some information in header to the server,
just like in javascript we can do it using jquery,
x.setRequestHeader('key','value');
where x is the xmlHttpRequest Object.
How we can pass the header data in NSConnection class,
I used google but havent find out good solution.
please help me.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…