To convert string to int using Objective-C you can use the snippet below.

Sample Objective-C

[myString intValue];

or you can do it like this.

myString.intValue;

3 thought on “How to convert string to int using Objective-C”

Leave a Reply