摘要: Reprint address:http://www.cnblogs.com/aimeng/archive/2012/12/05/2803803.htmlAuthors :qianqianlianmengGenie View 介绍: 实现所谓的genie effect。即点击最小化或删除按钮,视图会被吸进某个地方。 http://ios.itmdc.com/forum.php?mod=viewthread&tid=15&fromuid=15Animated Hovering Views 介绍:实现飘动视图(Hovering Views)的效果。Demo中,飘动的视图是一朵朵白云 阅读全文
posted @ 2012-12-05 20:10 Evo 阅读(273) 评论(0) 推荐(0)
摘要: This is just the code record.//这一段是,点击一个takePicture按钮的操作.- (IBAction)takePicture:(id)sender { UIImagePickerController *picker = [[UIImagePickerController alloc] init]; if([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) {picker.sourceType = UIImagePickerContro 阅读全文
posted @ 2012-12-05 15:29 Evo 阅读(149) 评论(0) 推荐(0)
摘要: in IOS ,We can set Insets for UIButton ,it's called Padding in css but called Insets in IOS. So UIButton 's Insets property is:Configuring Edge InsetscontentEdgeInsets propertytitleEdgeInsets propertyimageEdgeInsets property Then U can use UIEdgeInsetsMake( CGFloat top, CGFloat left, CGFloat 阅读全文
posted @ 2012-12-05 15:19 Evo 阅读(905) 评论(0) 推荐(0)
摘要: SomeTimes,We want to add some UI complements to Window,and they are same frame size but only different title.How should we do? next is the sample code we can add UILabel with dynamic.this is the yPosChange only,if u want change xPos ,U can change the method of yPos to xPos. UILabel *label = [[UI... 阅读全文
posted @ 2012-12-05 11:02 Evo 阅读(222) 评论(0) 推荐(0)