当前位置:  编程技术>移动开发
本页文章导读:
    ▪自定义push跟pop特效        自定义push和pop特效 push   // push 动画 渐变过度 CATransition* transition = [CATransition animation]; transition.duration = 0.5; transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseI.........
    ▪ UISrollView学问总结        UISrollView知识总结 UIScrollView 滚动视图 1.subviews,其中contentview负责显示内容,在滚动的过程中,通过监听gesture,来改变contentview的offset,显示不同的内容;vertical and horizontal scroll bar是另外的.........
    ▪ 五 Alternatives to the Google Play Store to Increase Downloads       5 Alternatives to the Google Play Store to Increase Downloads As an Android developer, achieving downloads from the Google play store can feel like an impossible task.  With increasing competition, strict policy changes and an already difficult env.........

[1]自定义push跟pop特效
    来源: 互联网  发布时间: 2014-02-18
自定义push和pop特效

push

 

// push 动画 渐变过度
    CATransition* transition = [CATransition animation];
    transition.duration = 0.5;
    transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
    transition.type = kCATransitionFade;
    [self.navigationController.view.layer addAnimation:transition forKey:nil];
    [self.navigationController pushViewController:sort animated:NO];
    [sort release];
    sort = nil;
 

 

pop

 

CATransition* transition = [CATransition animation];
    transition.duration = 0.5;
    transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
    transition.type = kCATransitionFade; 
    [self.navigationController.view.layer addAnimation:transition forKey:nil];
    [self.navigationController popViewControllerAnimated:NO];
 

 


    
[2] UISrollView学问总结
    来源: 互联网  发布时间: 2014-02-18
UISrollView知识总结


UIScrollView 滚动视图

1.subviews,其中contentview负责显示内容,在滚动的过程中,通过监听gesture,来改变contentview的offset,显示不同的内容;vertical and horizontal scroll bar是另外的subview,又叫做scroll indicator

2.UITableView和UITextView都是UIScrollView的子类;

3.UIScrollView可以管理现实的内容,通过contentoffset控制显示的内容,

4.UIScrollView可以管理的滚动的操作,

5.UIScrollView可以管理scroll indicator,设置样式、是否显示

6.UIScrollView可以控制contentview的缩放zoom,

alwaysBounceVertical 设置为YES/NO,当拉到顶部底部时是否有弹跳的效果;

decelerationRate 调节拖拽后减速的快慢

pagingEnabled  设置scrollView整屏滚动

常见gesture:swipe滑动、drag托拉、click单击、long click长按、pinch挤压捏(pinch in缩进,pinch out扩大)、  



UIScrollViewDelegate委托方法:

Responding to Scrolling and Dragging

– scrollViewDidScroll:

– scrollViewWillBeginDragging:

通知delegate scrollView将要滚动contentView,这时手指按在屏幕上开始拖拽;

– scrollViewWillEndDragging:withVelocity:targetContentOffset:

– scrollViewDidEndDragging:willDecelerate:

通知delegate拖拽的动作结束,这时手指离开了屏幕;decelerate属性控制是立刻停止滚动还是逐渐减速;decelerate属性的值可以通过scrollView来设置;

– scrollViewShouldScrollToTop:

– scrollViewDidScrollToTop:

– scrollViewWillBeginDecelerating:

通知delegate滑动的速度开始减小

– scrollViewDidEndDecelerating:

Managing Zooming

– viewForZoomingInScrollView:

– scrollViewWillBeginZooming:withView:

– scrollViewDidEndZooming:withView:atScale:

– scrollViewDidZoom:

Responding to Scrolling Animations

– scrollViewDidEndScrollingAnimation:

通知delegate scrollView的滑动动画结束 

 


    
[3] 五 Alternatives to the Google Play Store to Increase Downloads
    来源: 互联网  发布时间: 2014-02-18
5 Alternatives to the Google Play Store to Increase Downloads

As an Android developer, achieving downloads from the Google play store can feel like an impossible task.  With increasing competition, strict policy changes and an already difficult environment to make money, we are always looking for other ways to increase downloads and number of users.

We scoured the web to find the best alternative app marketplaces to market your app.  Here are our top 5 choices.

SlideMe

SlideME is unique because they recognize that not everyone can find what they are looking for in one app store.  They use an on-device application store that allows users to see apps directed specifically towards their interests, needs, geographical location, and even payment method.  According to their website, they are the number 1 alternative Android Application Marketplace for the world.  According to crunchbase, SlideMe has over 25,000 unique daily visitors.  Your newest users are waiting for you there!

Amazon App store for Android

A few months before Amazon released their Android powered tablet, Kindle Fire, they opened theAmazon App store for Android.  It originally opened just for US users, but this summer they expanded to the UK, Germany, France, Italy and Spain.  Publishing your app in Amazon will open you up to those users using the Kindle Fire.  With the recent announcement of the newest Kindle, this could be a great way to increase your apps reach.

Android Pit

Whether your app is a game, for communications, entertainment, music, news, or any category, it has a home at the Android Pit App store.  The team at Android Pit has created a beautifully clean and easily navigable app store.  Complete with a 5 star rating scale and an easy to use interface, Android Pit is a great site to use.  In addition to the app store, Android Pit is a full scale website with a very nice developer community, wonderful app reviews and informative articles about Android news and industry reports.

App Brain

App Brain makes our list because of its amazing filtering features.  Not only are you able to filter by location, you can see which apps are popular amongst different groups of people.  There are standard groups like men and women, but also some interesting fields like people in their twenties, older people, and the latest apps reviewed by appbrain.  Not only is App Brain a great app store, it’s a fantastic resource for market statistics.

Android Zoom

The last, but certaintly not least app to make our list is AndroidZoom.  With over 200,000 followers on facebook and an amazing youtube channel, they feature many different apps in their video reviews.  Not only can you see the top 50 most viewed apps on the site, you are able to view theclimbers, apps that are moving up the list, as well as the fallers, the ones headed off the list.  These different views give your app many more opportunities to be seen by users, and therefore more likely to be downloaded.


    
最新技术文章:
▪Android开发之登录验证实例教程
▪Android开发之注册登录方法示例
▪Android获取手机SIM卡运营商信息的方法
▪Android实现将已发送的短信写入短信数据库的...
▪Android发送短信功能代码
▪Android根据电话号码获得联系人头像实例代码
▪Android中GPS定位的用法实例
▪Android实现退出时关闭所有Activity的方法
▪Android实现文件的分割和组装
▪Android录音应用实例教程
▪Android双击返回键退出程序的实现方法
▪Android实现侦听电池状态显示、电量及充电动...
▪Android获取当前已连接的wifi信号强度的方法
▪Android实现动态显示或隐藏密码输入框的内容
▪根据USER-AGENT判断手机类型并跳转到相应的app...
▪Android Touch事件分发过程详解
▪Android中实现为TextView添加多个可点击的文本
▪Android程序设计之AIDL实例详解
▪Android显式启动与隐式启动Activity的区别介绍
▪Android按钮单击事件的四种常用写法总结
▪Android消息处理机制Looper和Handler详解
▪Android实现Back功能代码片段总结
▪Android实用的代码片段 常用代码总结
▪Android根据电话号码获得联系人头像实例代码 iis7站长之家
▪Android中通过view方式获取当前Activity的屏幕截...
▪Android提高之自定义Menu(TabMenu)实现方法
▪Android提高之多方向抽屉实现方法
▪Android提高之MediaPlayer播放网络音频的实现方法...
▪Android提高之MediaPlayer播放网络视频的实现方法...
▪Android提高之手游转电视游戏的模拟操控
 


站内导航:


特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

©2012-2021,,E-mail:www_#163.com(请将#改为@)

浙ICP备11055608号-3