It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am creating a view based application. I have an image in this app and I have to cut a particular section of the image and animate it little up and down.
How can this be achieved?
set imageview frame and wrirte these two line
[imageview commitanimation]
[imageview setanimationduration:1]
You should duplicated your image and crop it (have a look at this post), then you put the resulting image in a UIImageView or CALayer and animate it as you like.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
You can play video in a UIImageView?? for example:
No, an image view is for images. You can have a set of animated images but you can't play an actual video.
You could use a MPMoviePlayerController to play a true video and add its view in place of the image view.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I have two UiViewControllers. I need to be UIView with UiButton and UISlider displayed on top.
Also i already read any topics about this...but it's not work.
Make use of the quartzCore zPosition = MAXFLOAT
Just Like this:
yourView.layer.zPosition = MAXFLOAT
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to put static image using imageview on google maps. but its not displaying that image. so there is any idea to put up imageview on google map ? thanks in advance. plz help
You can use a ground overlay or marker (depending on if you want it to scale with the map or not), but these both use a UIImage, not a UIImageView.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
The UIProgressView by default has rounded corners.
How can I get rid of those rounded corners? I wish to have a standard rectangle view.
I have tried progressView.layer.cornerRadius = 0;, but no use.
You have to subclass UIProgressView and override drawRect.
EDIT 08/31/2016:
Here was a tutorial
;-)
Come on: This one is from 2012, the Question is closed, iOS had a few updates and so had the SDK and the ProgressView API, we're (hopefully) using swift now ... and yes: The link is broken. So, feel free to downvote this one, but ask yourself, if a non-broken link would really solve your problem.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I want to draw dynamic Pie Chart in Ipad which takes values from database .
Please suggest the way to draw chart ...
See the Drawing and Printing Guide for iOS for specifics on drawing with iOS. Also note, your view won't be taking things from a database. A controller object will get the data from the database, hold it, and tell your view to display it. The view then draws itself to represent the data its controller told it to. This is MVC 101.