Post

Replies

Boosts

Views

Activity

iOS16 crash
Thread 0 Crashed: 0 libsystem_kernel.dylib 0x1ca00dbc4 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x1ca02fc48 abort_with_payload + 16 2 libsystem_c.dylib 0x1950a8410 _os_crash_fmt 3 UIKitCore 0x190ab43b8 +[UIWindow _checkPreCommitHandlersAfterCAFlush] + 312 4 UIKitCore 0x18fdab174 _cleanUpAfterCAFlushAndRunDeferredBlocks + 92 5 UIKitCore 0x190270e08 _UIApplicationFlushCATransaction + 72 6 UIKitCore 0x1903bd33c _UIUpdateSequenceRun + 84 7 UIKitCore 0x1909f9ea8 schedulerStepScheduledMainSection + 172 8 UIKitCore 0x1909f9074 runloopSourceCallback + 92 9 CoreFoundation 0x18dcba2cc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 10 CoreFoundation 0x18dcc6660 __CFRunLoopDoSource0 + 176 11 CoreFoundation 0x18dc4a5c4 __CFRunLoopDoSources0 + 244 12 CoreFoundation 0x18dc5ff58 __CFRunLoopRun + 836 13 CoreFoundation 0x18dc65284 CFRunLoopRunSpecific + 612 14 GraphicsServices 0x1c67eb368 GSEventRunModal + 164 15 UIKitCore 0x19010e860 -[UIApplication _run] + 888 16 UIKitCore 0x19010e4c4 UIApplicationMain + 340
13
5
2.9k
Aug ’22
XCode13 beta,iOS15. set tableview section header to 0. not working
self.tableView = [[UITableView alloc] initWithFrame:self.view.frame]; - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { UILabel *label = [[UILabel alloc] init];     label.text = @"test";     return label; } - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {     return 0.01; } it works perfect on iOS14. but on iOS15 XCode13 beta. it doesn't work anymore. have a default header which height is 22 here
Topic: UI Frameworks SubTopic: UIKit Tags:
3
0
4.7k
Jun ’21
navigationBar setBackgroundImage not working on iOS15
- (void)viewDidLoad {     [super viewDidLoad];     [self.navigationController.navigationBar setBackgroundImage:[self imageWithColor:[UIColor redColor]] forBarMetrics:UIBarMetricsDefault]; } - (UIImage *)imageWithColor:(UIColor *)color {     CGRect rect = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f);     UIGraphicsBeginImageContext(rect.size);     CGContextRef context = UIGraphicsGetCurrentContext();     CGContextSetFillColorWithColor(context, [color CGColor]);     CGContextFillRect(context, rect);     UIImage *image = UIGraphicsGetImageFromCurrentImageContext();     UIGraphicsEndImageContext();     return image; } it works on iOS14, but on iOS15. it doesn't work. the color of navigationBar does't change
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
8.1k
Jun ’21