this is the case, I have here a picture of link, I need the picture show, but the picture size ratio with screen size ratio is not the same, I want to know someone a little solution enables image display when compared to normal yet. . . This is how I initialize the UIImageView to make him do the same picture aspect ratio. . .
tangled death of me. . . Will not Reply: 1, the ratio is calculated, it is not on the short length cropped 2, calculate the ratio, it is not on the short length of the zoom Reply: That speed? From the thread? Reply: Less than 10 pictures, other than directly from the thread processing slow. I measured from 5 to 30 have been concluded ⋯ ⋯ Reply: Still have to calculate the proportion ah? Do not automatically? ? Reply:
Automatically on certain high efficiency it?
Reply: Would know in advance what size ratio thing. . . . . Reply: I found the network initialization time program directly addresses image like dead. . . From the thread does not work? Reply: If the picture is a network address, then on a multi-threaded download. Then wait symbol is displayed. To troubleshoot network speed problems. Reply: there is no God Give me an example of a horse ah. . . . Neighborhoods Reply: Hello, Initialized according to the size of the image view, image size can use UIImage, or UIImageView has a size property to get. Reply:
1, if the time because the image is too large, then it and other than the big screen scaling 2, if when you want to initialize a UIImageView same picture size then press cxsjabcabc said the way to do
Reply: Requirements are not too high, use contentMode set. Depending on the parameters, you can automatically zoom or fill operation. Reply: You can refer to the way Three20 Photos displayed. Reply:
No comments:
Post a Comment