FBSDKHashtag
이 클래스의 최신 버전을 사용할 수 있습니다. 확인해보세요 최신 버전.

Represents a single hashtag that can be used with the share dialog.

Conforms to:FBSDKCopying, NSSecureCoding
Superclass:NSObject
Declared in:FBSDKHashtag.h
속성
stringRepresentation

The hashtag string.

@property (nonatomic, readwrite, copy) NSString *stringRepresentation;
Discussion:

You are responsible for making sure that stringRepresentation is a valid hashtag (a single '#' followed by one or more word characters). Invalid hashtags are ignored when sharing content. You can check validity with the valid property.

정의된 값: FBSDKHashtag.h
valid

Tests if a hashtag is valid.

@property (nonatomic, readonly, assign, getter=isValid) BOOL valid;
Discussion:

A valid hashtag matches the regular expression "#\w+": A single '#' followed by one or more word characters.

정의된 값: FBSDKHashtag.h
클래스 메서드
hashtagWithString:

Convenience method to build a new hashtag with a string identifier. Equivalent to setting the stringRepresentation property.

매개변수설명
hashtagString

The hashtag string.

+ (instancetype) hashtagWithString:(NSString *)hashtagString;
정의된 값: FBSDKHashtag.h
인스턴스 메서드
isEqualToHashtag:

Compares the receiver to another hashtag.

매개변수설명
hashtag

The other hashtag

- (BOOL) isEqualToHashtag:(FBSDKHashtag *)hashtag;
정의된 값: FBSDKHashtag.h