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