- void changeUISegmentFont(UIView* aView)
- {
- NSString* typeName = [[aView class] className];
- if ([typeName compare:@"UISegmentLabel" options:NSLiteralSearch] == NSOrderedSame)
- {
- UILabel* label = (UILabel*)aView;
- [label setTextAlignment:UITextAlignmentCenter];
- [label setFont:[UIFont boldSystemFontOfSize:14]];
- }
- NSArray* subs = [aView subviews];
- NSEnumerator* iter = [subs objectEnumerator];
- UIView* subView;
- while (subView = [iter nextObject])
- {
- changeUISegmentFont(subView);
- }
- }
параметром этой функции и есть экземпляр обьекта UISegmentedControl.
Удачи вам!
ОтветитьУдалить’ possibility will now seem, the place want to} comply with the on-screen instructions, both clicking ‘Add’ or dragging and dropping the icon to your home home} thecasinosource.com display screen.
ОтветитьУдалитьIn short, CNC machining refers to any fabrication operation carried out by a machine that is operated or controlled by a pc. CNC machinery allows for the automation of huge manufacturing processes that otherwise would have been performed manually. Our totally air-conditioned manufacturing facilities include 18 Kern CNC precision machining centres with high-speed Duvet Inserts milling spindles. Prototypes required prematurely are produced on the identical machines - so the method switch to collection manufacturing is problem-free.
ОтветитьУдалить