ios - Setting up of View frame is taking more time -


i have uiviewcontroller view frame setting up. taking .6sec set up. please tell me how should that, takes less time.

here code snippet

    hispanel=[[hisimageviewcontroller alloc] initwithnibname:@"hisimageviewcontroller" bundle:nil];     cgrect frame=_deviceview.bounds;     frame.origin.x=1;     frame.origin.y=1;     frame.size.height-=2;     frame.size.width-=2;     nsdate *methodstart = [nsdate date];     hispanel.view.frame = frame;     nsdate *methodfinish = [nsdate date];     nstimeinterval executiontime = [methodfinish timeintervalsincedate:methodstart];     execution time = 0.6 sec 


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -