开发者

How to send and receive userdata in notification?

开发者 https://www.devze.com 2023-02-25 10:41 出处:网络
I want to send NSMutableDictionary with 4 key-values 开发者_StackOverflowin notification and want same at receiving side.

I want to send NSMutableDictionary with 4 key-values 开发者_StackOverflowin notification and want same at receiving side.

How to do that?


- (void)postNotificationName:(NSString *)aName object:(id)anObject userInfo:(NSDictionary *)aUserInfo; 

I think you can use the userInfo argument

0

精彩评论

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