FBSDKUtility
这个类有新版本。查看 最新版本。

Class to contain common utility methods.

Superclass:NSObject
Declared in:FBSDKUtility.h
类方法
dictionaryWithQueryString:

Parses a query string into a dictionary.

参数描述
queryString

The query string value.

+ (NSDictionary *) dictionaryWithQueryString:(NSString *)queryString;
声明语言: FBSDKUtility.h
queryStringWithDictionary:error:

Constructs a query string from a dictionary.

参数描述
dictionary

The dictionary with key/value pairs for the query string.

errorRef

If an error occurs, upon return contains an NSError object that describes the problem.

+ (NSString *)
queryStringWithDictionary: (NSDictionary *)dictionary
error: (NSError *__autoreleasing *)errorRef;
声明语言: FBSDKUtility.h
URLDecode:

Decodes a value from an URL.

参数描述
value

The value to decode.

+ (NSString *) URLDecode:(NSString *)value;
声明语言: FBSDKUtility.h
URLEncode:

Encodes a value for an URL.

参数描述
value

The value to encode.

+ (NSString *) URLEncode:(NSString *)value;
声明语言: FBSDKUtility.h