I tried to apply a shadow to a video in this way: moviePlayer.view.frame = CGRectMake(83, 123, 629, 424);
I have been doing some experimenting with iOS drawing. To do a practical exercise I wrote a BarChart component. The following is the class diagram (well, I wasnt allowed to upload images) so let me wr
I want to rotate my \"containerView\" UIView (semi-transparent red box in the screenshot) using UIDeviceOrientationDidChangeNotification and then later (after it rotates) add sublayers to the view\'s
I\'m trying to implement some basic OpenGL in my app, and in doing so, I used the GLPaint example included with the SDK as a jumping off point.My code works fine on its own, but once I move everything
I am trying to arrange 12 objects in the circle so that each ov开发者_如何转开发erlaps its anticlockwise neighbour.
I am trying to combine 2 UIImageViews and save them as 1. The top-most image is a static \"frame\", and the lower image is rotatable / scalable.
I am moving a few CALayers using the -mouseDragged method, and now I would like to \"snap\" them when they are sufficiently near (or when they are overlapping just a little bit).
I am trying to add a gradient layet to my UILabel for some reasons the CAGradientLayer covers my text.
I have UIWebView among with other UI elements on the screen. After I click on textfield inside a webview, whole webview is moving up (it is moving webview content, not a webview containter, right?). I
I have a UIView, with UIViews as subviews. Each of these sub-UIViews draws an image using drawRect, and may have a shadow using CALayer shadowOffset, shadowRadius, shadowOpacity.