qt configuration system new project function

2022-12-20   ES  

Passing mode

view1.clipsToBounds = YES;//Cutting View1 view
       

 view1.autoresizesSubviews = YES;//Sub -view automatically adapts to the size, set in the father’s view

 view2.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleleftMargin; // The adaptation method of the sub -view in the father’s view, set in the sub -view

  imageView.contentMode = UIViewContentModeScaleAspectFill; // The picture mode in the view

    
mobile       
       
    [self.view insertSubview:view3 atIndex:1];
    [self.view sendSubviewToBack:view2];

    [self.view bringSubviewToFront:view1];
   

    [self.view exchangeSubviewAtIndex:0 withSubviewAtIndex:2];
    [view1 isDescendantOfView:self.view]
    
   

source

Related Posts

python+pycharm and Visualstudio C ++ community version uses PK and confusing grammar problems

Hangdian ACM2089 Do not 62JOHN

Oracle’s large data volume migration, and inlet import samples (fetch … bulk collect) and Forall combined

javaweb to implement student management system (addition, deletion, change, login registration, paging display, blur inquiries, filter, verification code verification)

qt configuration system new project function

Random Posts

How to download with JS for file download

Announcement on closing the credit card recharge channel to the Alipay account

javascript’s thousands of points and remove thousands of points

Sorting Algorithm-Base Sorting-Detailed Explanation and Code Analysis

Record JMETER5.0 Starting the problem of flashing and retreating