문제

I am not able to get values for keys from the InfoPlist.

label.text = NSLocalizedStringFromTableInBundle(@"keyone", 
                                                nil, 
                                                AppDelegateObj.langBundle, nil));

In the InfoPlist.strings there is a value

"keyone" = "value one";

When I am running my app it is showing UILabel value as keyone

Why?

도움이 되었습니까?

해결책

Try This:

label.text = NSLocalizedStringFromTableInBundle(@"keyone", 
                 @"InfoPlist", 
                 AppDelegateObj.langBundle, nil));
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top