IOS control center debounding
Publish: 2021-04-06 16:37:48
1. ableview[UNK]掉[UNK]面[UNK]外边框
-(void)viewDidLayoutSubviews
{
if ([self.tableView respondsToSelector:@selector (setSeparatorInset:)]) {
[self.tableView setSeparatorI nset:UIEdgeInsetsMake (0.0.0.0)];< br /> }
if ([self.tableView respondsToSelector:@selector (setLayoutMargins:)]) {
[self.tableView setLayoutM argins:UIEdgeInsetsMake (0.0.0.0)];< br /> }
}
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
{
if ([cell respondsToSelector:@selector (setSeparatorInset:)]) {
{[cell setSeparatorI nset:UIEdgeInsetsZero ];< br /> }
if ([cell respondsToSelector:@selector (setLayoutMargins:)]) {
[cell setLayoutM argins:UIEdgeInsetsZero ];< br /> }
}
-(void)viewDidLayoutSubviews
{
if ([self.tableView respondsToSelector:@selector (setSeparatorInset:)]) {
[self.tableView setSeparatorI nset:UIEdgeInsetsMake (0.0.0.0)];< br /> }
if ([self.tableView respondsToSelector:@selector (setLayoutMargins:)]) {
[self.tableView setLayoutM argins:UIEdgeInsetsMake (0.0.0.0)];< br /> }
}
-(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
{
if ([cell respondsToSelector:@selector (setSeparatorInset:)]) {
{[cell setSeparatorI nset:UIEdgeInsetsZero ];< br /> }
if ([cell respondsToSelector:@selector (setLayoutMargins:)]) {
[cell setLayoutM argins:UIEdgeInsetsZero ];< br /> }
}
2. Drag the black bar down, and then press the home key.
3. It's not going to work. Because that's the system of IOS. You can set up some desktop widgets. But these rules can't be explained.
4. This is the dock bar. You can move the software to the dock bar. You can move it to the screen area by long pressing an app in the dock bar at the bottom. After releasing your hand, you can long press another app to select the split screen area. At this time, how to choose the screen size is the user's choice. The split screen operation of IOS 11 is very simple, However, it still needs a certain learning cost.
5.
-
Open Cydia on your mobile phone and click search
-
return to the desktop drop-down control center to see the transparent beautification effect< br />
6. Transform an transparent image as a background reference code
[self.navigationController.navigationBar setBackground Image:[self-createimageWithColor:[UIColor clearColor]] forBarP osition:UIBarPositionAny barMetrics :UIBarMetricsDefault];< Create ImageWithColor:(UIColor *)color
{
CGRect rect = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f);<
UIGraphicsBeginImageContext(rect.size);<
CGContext context = UIGraphicsGetCurrent Context();< br/>
(context, (color CGColor];<
CGContextFillRect(context, rect);< br />
UIImage *image =();<
UIGraphicsEndImageContext();<
return image;< br/>
}
[self.navigationController.navigationBar setBackground Image:[self-createimageWithColor:[UIColor clearColor]] forBarP osition:UIBarPositionAny barMetrics :UIBarMetricsDefault];< Create ImageWithColor:(UIColor *)color
{
CGRect rect = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f);<
UIGraphicsBeginImageContext(rect.size);<
CGContext context = UIGraphicsGetCurrent Context();< br/>
(context, (color CGColor];<
CGContextFillRect(context, rect);< br />
UIImage *image =();<
UIGraphicsEndImageContext();<
return image;< br/>
}
7. You can escape from prison. You can set it after you escape from prison
8. That box is used to install characters. To get rid of it, you can only click the earth on the keyboard and change it to handwriting mode.
9. It may be that the software has permission settings, or it may be a jailbreak
10. After the prison break, change a transparent picture into it!
Hot content
