UIDocumentInteractionController preview the file will show the status bar

2013-10-26 Thread li shunnian
{ [[UIApplication sharedApplication] setStatusBarHidden:YES]; } Can anyone give me some advice for preventing the status bar show? Regards, Li Shunnian. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

I can't use man command to find c api manuals in Mavericks GM

2013-10-22 Thread li shunnian
Dear list, After I updated to Mavericks GM, I can not use man command to find the manuals of the C api. Can anyone tell me how to solve this problem? Regards, Li Shunnian. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: UIView drawRect will update whole bounds

2013-05-15 Thread li shunnian
I found even in a very simple painter app, view will refresh whole bounds when switching from another app. -- Shunnian ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: UIView drawRect will update whole bounds

2013-05-15 Thread li shunnian
My app is a painter, the image is used for back buffering. When dragging, I calculate the points between the previous point and now point, and draw a small image on the back buffer image. Then update the back buffer image to the view. ___ Cocoa-dev

UIView drawRect will update whole bounds

2013-05-15 Thread li shunnian
Hi all, I implement drawRect of a subclass of UIView. I found view will update whole bounds when I switch from another app to myapp. Because I draw a cgimage on the view's bounds, it cost lots of time. Are there some properties of view or layer to make the update rect not to be whole bounds? ___