开发者

How to retrieve a string from an object located in an array

just a quick question

I have an array with only one ob开发者_StackOverflowject in it which is a string.

How can I retrieve it into a string ?

when I do this :

NSLog(@"%@",[myUserInfo objectAtIndex:0]);

It prints the result right, but what I want to achieve is this :

 localNotif.alertBody = the string in the array.

I'm sure it is an easy thing to do but I can't figure it out.

Could you help me please ?

Thanks,

Mike


This is probably a trick question. Have you tried:

localNotif.alertBody = [myUserInfo objectAtIndex:0];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜