E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
UIScreen
mono touch中,给顶层容器添加遮罩
有不明白的地方欢迎入群 347636249 探讨LoadingOverlay loadingOverlay = new LoadingOverlay (
UIScreen
.MainScreen.Bounds
Joyhen
·
2014-01-13 17:00
UIApplication
mono遮罩
#define screenWidth [
UIScreen
mainScreen].bounds.size.width
#definescreenWidth [UIScreenmainScreen].bounds.size.width#definescreenHeight [UIScreenmainScreen].bounds.size.height#defineIOS7([[[UIDevicecurrentDevice]systemVersion]floatValue]>=7.0?20:0)
u010477563
·
2013-12-26 08:00
ios
xcode
ios7
UIScrollView 滚动视图
CGRect bounds = [ [
UIScreen
mainScreen ] applicationFrame ] ; UIScrollView* scrollView = [ [UIScrollView
tongzhitao
·
2013-11-18 15:00
获取ios屏幕大小(去掉状态条)
UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation; CGSize size = [
UIScreen
啸笑天
·
2013-11-13 11:00
ios
ios7新特性--18
但是IOS7将会改变,UIView和
UIScreen
会有一
caoyangbeijing
·
2013-11-10 15:00
五种常用手势
- (void)loadView{ UIView *aView = [[[UIView alloc] initWithFrame:[
UIScreen
mainScreen].bounds] autorelease
ylm0302
·
2013-10-31 09:00
UIView
uiimage
UIImageView
IOS开发-UIWebView网页视图
CGRect bouds = [[
UIScreen
manScreen]applicationFrame]; UIWebView* webView = [[UIWebView alloc]initWithFrame
lengshengren
·
2013-09-26 17:00
ios
UIscrollview总结
将状态栏除去后的位置 CGRect bounds = [ [
UIScreen
mainScreen ] applicationFrame ] ; (0,20,320,460) 将状态栏包括在内
chenyue1
·
2013-09-11 10:00
ios 代码片段
//获取一个视图的快照 - (UIImage *)getImageFromView:(UIView *)view{ float width = [
UIScreen
mainScreen].bounds.size.width
ydbc
·
2013-09-03 14:00
ios
UIScrollView 滚动视图
一、创建 CGRect bounds = [ [
UIScreen
mainScreen ] applicationFrame ] ; UIScrollView* scrollView = [
jaybril
·
2013-09-02 22:00
uiscrollview
应用第一次启动,修改rootViewController方法
1、第一次设置 self.window = [[UIWindow alloc] initWithFrame:[[
UIScreen
mainScreen] bounds]];
quding0308
·
2013-08-26 15:00
[[
UIScreen
mainScreen] scale]
[[UIScreenmainScreen]scale]详解当屏幕分别为640x940时[[UIScreenmainScreen]scale]=2.0当屏幕分别为320x480时[[UIScreenmainScreen]scale]=1.0由于iphone早起的设备都是屏幕分辨率是320*480后来apple在iPhone4中采用了名为Retina的显示技术,iPhone4采用了960x640像素分
ViA_Snow
·
2013-08-05 13:30
[[
UIScreen
mainScreen] scale]
[[
UIScreen
mainScreen] scale]详解当屏幕分别为640x940时[[
UIScreen
mainScreen] scale]=2.0当屏幕分别为320x480时[[
UIScreen
Li_Huifeng
·
2013-08-05 13:00
UIScreen
UIWindow UIView
UIScreen
(屏幕),UIWindow(窗口),UIView(视图)是IOS的几个基本界面元素。其中UIWindow(窗口)和UIView(视图)是为iPhone应用程序构造用户界面的可视组件。
ydbc
·
2013-07-31 15:00
window
UIScreen
UIWindow UIView
UIScreen
(屏幕),UIWindow(窗口),UIView(视图)是IOS的几个基本界面元素。其中UIWindow(窗口)和UIView(视图)是为iPhone应用程序构造用户界面的可视组件。
MyGameZone
·
2013-07-31 15:00
ios
[[
UIScreen
mainScreen] bounds]和 applicationFrame
一直对ios设备的尺寸不大敏感,搞不清[[UIScreenmainScreen]bounds]和[UIScreenmainScreen]applicationFrame]的区别,故总是心虚,现扫盲下:定义一个宏:#define PrintRect(frame) NSLog(@"X:%f,Y:%f,W:%f,H:%f",frame.origin.x,frame.origin.y,frame.si
辉兔狼
·
2013-07-17 10:00
ios
尺寸
bounds
UIScrollView详解
一、创建[java] viewplaincopyCGRect bounds = [ [
UIScreen
mainScreen ] applicationFrame ] ; UIScrollView*
brokge
·
2013-07-09 12:00
View Controller Programming Guide for iOS--(一)
2,
UIScreen
是设备的物理屏幕;UIWindow是提供在屏幕上绘画的对象;一系列的UIView执行实际绘画对象,这些对象附加到window上并在window的要求下绘制内容。
focusjava
·
2013-07-09 09:00
UIWebView网页视图
CGRect bouds = [[
UIScreen
manScreen]applicationFrame]; UIWebView* webView = [[UIWebView alloc]initWithFrame
xiaoxuan415315
·
2013-07-02 15:00
UINavigationController
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow alloc] initWithFrame:[[
UIScreen
·
2013-06-24 17:00
controller
iOS开发常用的宏
#define SCREEN_WIDTH ([
UIScreen
mainScreen].bounds.size.width)#define SCREEN_HEIGHT ([
UIScreen
mainScreen
lusonglin121
·
2013-06-17 15:00
Objective-C 基础语法详解
Objective-C语法之第一个iPhone应用程序获取手机屏幕尺寸的方法 //得到屏幕的宽和高 CGRect rect=[[
UIScreen
mainScreen] bounds];
lgm252008
·
2013-05-23 15:00
IOS获得设备信息的三个相关类
UIScreen
*screen=[UIScreenmainScreen];UIDevice*device=[UIDevicecurrentDevice];UIScreenMode*screenMode=
wzq9706
·
2013-05-14 10:00
IOS开发之
UIScreen
和UIWindow,UIView
UIScreen
(屏幕),UIWindow(窗口),UIView(视图)是IOS的几个基本界面元素。其中UIWindow(窗口)和UIView(视图)是为iPhone应用程序构造用户界面的可视组件。
·
2013-05-03 15:00
window
UIScrollView 滚动视图—IOS开发
CGRect bounds = [ [
UIScreen
mainScreen ] applicationFrame ] ; UIScrollView* scrollView = [ [UIScrollView
b956536180
·
2013-04-11 21:00
uiscrollview
IOS基本界面元素window(窗口)\视图(view)介绍及生命周期和加载过程等
再来认识一个类:
UIScreen
。
UIScreen
类代表了屏幕
cuibo1123
·
2013-03-11 00:00
ios
application
文档
UIView
iphone4s和iphone5屏幕尺寸的兼容
我们可以这样: #define isIPhone5 ([
UIScreen
instancesRespondToSelector:@selector(currentMode)] ?
ydbc
·
2013-02-16 13:00
iPhone
【iPhone代码片段之六】代码(不使用xib)创建UIWebView .
代码如下:-(void)initWebView{ UIView*view=[[UIViewalloc]initWithFrame:[
UIScreen
mainScreen].applicationFrame
android_zhang
·
2013-01-31 18:00
ios
LayoutSubviews何时会被调用
2:滚动UIScrollView时会触发3:旋转
UIScreen
时会触发4:当改变view的值时候会触发,前提是frame前后值发生了变化5:当改变UIview的大小时候会触发
青云_K
·
2013-01-25 17:00
iphone ios 屏幕,statusbar,状态栏,标签栏尺寸,高度
app尺寸,去掉状态栏CGRect r=[
UIScreen
mainScreen].applicationFrame;r=0,20,320,460屏幕尺寸CGRect rx=[
UIScreen
mainScreen
baxiaxx
·
2013-01-25 15:00
AppDelegate动态加载StoryBoard
applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions{ self.window =[[UIWindow alloc] initWithFrame:[[
UIScreen
huanghuanghbc
·
2013-01-22 17:00
ios 屏幕,状态栏(statusbar),程序窗口 尺寸获取和屏幕旋转时的尺寸变化
app尺寸,去掉状态栏CGRect r=[
UIScreen
mainScreen].applicationFrame;这个尺寸不会随着屏幕旋转而交换宽高,但屏幕旋转后,会自动修改宽高减掉状态栏高度。
cuibo1123
·
2013-01-18 11:00
ios获取屏幕的宽高
[[UIScreenmainScreen]bounds].size.width[[
UIScreen
mainScreen] bounds].size.height
liliangchw
·
2013-01-16 12:00
UIScrollView
一、创建[java] viewplaincopyCGRect bounds = [ [
UIScreen
mainScreen ] applicationFrame ] ; UIScrollView*
jianjianyuer
·
2013-01-14 19:00
ios 获取屏幕的属性和宽度
app尺寸,去掉状态栏CGRect r=[
UIScreen
mainScreen].applicationFrame;r=0,20,320,460屏幕尺寸CGRect rx=[
UIScreen
mainScreen
guozh
·
2013-01-14 17:00
LayoutSubviews何时会被调用
2:滚动UIScrollView时会触发3:旋转
UIScreen
时会触发4:当改变view的值时候会触发,前提是frame前后值发生了变化5:当改变UIview的大小时候会触发
a351945755
·
2013-01-08 16:00
UIScreen
在经常用到屏幕的尺寸时,可将其定义为常量#define_MainScreenFrame[[UIScreenmainScreen]bounds]#define_MainScreen_Width_MainScreenFrame.size.width#define_MainScreen_width_MainScreenFrame.size.height-20
liulushi_1988
·
2013-01-04 10:00
UIScreen
,UIView,UIWindow和UIViewController的介绍和区别
一、参考ViewProgrammingGuideforiOShttp://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/Introduction/Introduction.htmlViewControllerProgrammingGuideforiOShttp://dev
showhilllee
·
2012-12-31 11:00
ios
ios
ios
区别
UIView
UIView
UIView
UIScreen
APP适配iphone5 and ihpone4
首先加入
[email protected]
得开机图片 CGFloat screenWidth = [[
UIScreen
mainScreen] bounds].size.width; CGFloat
白色蜻蜓
·
2012-12-09 13:00
iPhone
UIWebView网页视图—IOS开发
CGRect bouds = [[
UIScreen
manScreen]applicationFrame]; UIWebView* webView = [[UIWebView allo
gloryFlow
·
2012-11-26 15:00
app尺寸
app尺寸,去掉状态栏CGRect r=[
UIScreen
mainScreen].applicationFrame;r=0,20,320,460屏幕尺寸CGRect rx=[
UIScreen
mainScreen
theonezh
·
2012-10-23 16:00
ios: APNS 配置
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow alloc] initWithFrame:[[
UIScreen
修博龙泉
·
2012-10-22 11:00
ios
为iOS App增加启动动画效果
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[[UIWindow alloc] initWithFrame:[[
UIScreen
hufeng825
·
2012-10-20 12:00
UIWebView网页视图—iOS开发
一、创建UIWebViewCGRect bouds = [[
UIScreen
manScreen]applicationFrame]; UIWebView* webView = [[UIWebView
lgm252008
·
2012-09-08 22:00
ios
浏览器
url
Safari
电话
【iPhone代码片段之六】代码(不使用xib)创建UIWebView
代码如下:-(void)initWebView{ UIView*view=[[UIViewalloc]initWithFrame:[
UIScreen
mainScreen].applicationFrame
m_changgong
·
2012-08-23 17:00
url
iPhone
UIView
iphone开发之分辨率问题
[
UIScreen
mainScreen].applicationFrame 是{(0,20),(320,460)}
UIScreen
mainScreen].bounds 是{(0,0),(320,480
啸笑天
·
2012-08-12 00:00
iPhone开发
IOS开发中的
UIScreen
、UIView、UIWindow和UIViewController
一、参考ViewProgrammingGuideforiOShttp://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/Introduction/Introduction.htmlViewControllerProgrammingGuideforiOShttp://dev
jackyyang
·
2012-07-27 11:00
IOS几个基本界面元素window(窗口)、视图(view)
再来认识一个类:
UIScreen
。
UIScreen
类代表了屏幕,通过这个类我们可以获取
tianyitianyi1
·
2012-07-25 22:00
java
ios
面试
测试
application
UIView
IOS UIScrollView
一、创建[java] viewplaincopyCGRect bounds = [ [
UIScreen
mainScreen ] applicationFrame ] ; UIScrollView*
qijianli
·
2012-07-24 19:00
java
ios
iPhone
文档
UIView
float
iPhone编程指南学习笔记
屏幕矩形可以通过
UIScreen
对象来取得,具体代码如下所示:UIWindow*aWindow
c395565746c
·
2012-07-17 19:00
apple
编程
OS
application
iPhone
UIView
上一页
6
7
8
9
10
11
12
13
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他