Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 更改SHKAActionSheet中单词的大小_Objective C_Ios_Xcode_Facebook_Sharekit - Fatal编程技术网

Objective c 更改SHKAActionSheet中单词的大小

Objective c 更改SHKAActionSheet中单词的大小,objective-c,ios,xcode,facebook,sharekit,Objective C,Ios,Xcode,Facebook,Sharekit,我想更改ShkaActionSheet中显示的单词的字体大小。我不知道如何更改字体大小 这个词看起来像: + (SHKActionSheet *)actionSheetForType:(SHKShareType)type { SHKActionSheet *as = [[SHKCONFIG(SHKActionSheetSubclass) alloc] initWithTitle:SHKLocalizedString(@"Share ")

我想更改ShkaActionSheet中显示的单词的字体大小。我不知道如何更改字体大小

这个词看起来像:

+ (SHKActionSheet *)actionSheetForType:(SHKShareType)type
{
    SHKActionSheet *as = [[SHKCONFIG(SHKActionSheetSubclass) alloc] initWithTitle:SHKLocalizedString(@"Share ")
                                                      delegate:nil
                                             cancelButtonTitle:nil
                                        destructiveButtonTitle:nil
                                             otherButtonTitles:nil];
    as.delegate = as;
    as.item = [[[SHKItem alloc] init] autorelease];
    as.item.shareType = type;

    as.sharers = [NSMutableArray arrayWithCapacity:0];
    NSArray *favoriteSharers = [SHK favoriteSharersForType:type];

    // Add buttons for each favorite sharer
    id class;
    for(NSString *sharerId in favoriteSharers)
    {
        class = NSClassFromString(sharerId);
        if ([class canShare])
        {
            [as addButtonWithTitle: [class sharerTitle] ];
            [as.sharers addObject:sharerId];
        }
    }

    if([SHKCONFIG(showActionSheetMoreButton) boolValue])
    {
        // Add More button
        [as addButtonWithTitle:SHKLocalizedString(@"More...")];
    }

    // Add Cancel button
    [as addButtonWithTitle:SHKLocalizedString(@"Cancel")];
    as.cancelButtonIndex = as.numberOfButtons -1;

    return [as autorelease];
}

SHKAActionSheet是UIActionSheet的一个子类。因此,检查UIActionSheet的文档。如果我记得很清楚,就不可能改变字体。但是,您可以创建自己的UIView,并通过自定义设置模拟UIActionSheet界面。

您似乎无法更改共享文本的字体大小。从刚才开始我一直在努力。。你能改变尺寸吗?