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
IBAction
NSNotificationCenter(观察者模式) 的使用
NSNotificationCenter(观察者模式)的使用1,定义一个方法-(
IBACtion
)shuchu{ }2,对象注册,并附带信息[[NSNotificationCenterdefaultCenter
wang9834664
·
2012-11-05 12:00
UIPopoverController
InfoPopoverController*popoverContent;03UIPopoverController*popover;04 05 06-(
IBAction
)infoButtonClicked
a351945755
·
2012-11-03 22:00
iOS开发之在google地图上显示自己的位置
一行代码显示你的位置iOS中的MapKit集成了定位的功能,使用一行代码就可以在google地图上展示出自己当前的位置,代码如下:-(
IBAction
)showLocation:(id)sender{
于赟
·
2012-11-01 00:00
AudioServicesPlaySystemSound 系统声音提示 iOS iPad
LinkBinaryWithLibraries--添加AudioToolbox.framework//然后在头文件中声明#import//声音提示#defineSOUNDID1109//1012-iphone1152ipad1109ipad-(
IBAction
dean19900504
·
2012-10-25 14:46
iphone开发
AudioServicesPlaySystemSound 系统声音提示 iOS iPad
AudioToolbox.framework //然后在头文件中声明 #import//声音提示 #defineSOUNDID1109//1012-iphone1152ipad1109ipad -(
IBAction
dean19900504
·
2012-10-25 14:00
IBoutlet和
IBAction
见下文YoumightbewonderingjustwhatIBActionandIBOutletare.AretheypartoftheObjective-Clanguage? Nope.They’regoodold-fashionedCpre-processormacros.IfyougointotheAppKit.frameworkandlookattheNSNibDeclarations.
simpson910
·
2012-10-25 11:00
ios6下隐藏文本框输入键盘
1.对于textfield不是数字键盘的,可以关联事件DidEndonExit事件到-(
IBAction
)hideKeyboard:(id)sender2.如果是textview或者数字键盘没有DidEndonExit
lihao312
·
2012-10-20 11:00
UI
iPhone
ipad
iOS6
隐藏键盘
Iphone开发-NSRunLoop概述和原理
我们会经常看到这样的代码:- (
IBAction
)start:(id)sender{pageStillLoading = YES;[NSThread detachNewThreadSelector:@selector
a351945755
·
2012-10-16 15:00
IOS之云端应用
type=ip&q=218.241.121.186它的返回格式是xml:新建个例子:CSSimpleXML,设计原型:编辑按钮事件:-(
IBAction
)query:(
syx278250658
·
2012-10-14 22:00
第一个ios程序
strong,nonatomic)IBOutletUILabel*userOutput;@property(strong,nonatomic)IBOutletUITextField*userInput;-(
IBAction
·
2012-10-12 23:00
ios
UITEXTVIEW和UITEXTFIELD统计字符和响应RETURN键
textView.textlength]; //这里的count就是字符个数了 }2、UITextField方法一:自己先为UITextField的Editing Changed事件添加一个响应方法 -(
IBAction
yu0089
·
2012-09-29 14:00
iOS 的keyChain
不同的类型包含不同的Attributes,这些attributes定义了这个item的具体信息3.每个item可以包含一个密码项来存储对应的密码使用:引入Security包,引入文件#import添加-(
IBAction
xueer8835
·
2012-09-28 11:00
ios
Class
query
Dictionary
encoding
attributes
ios 搜索主要代码
-(
IBAction
)buttonSearch:(id)sender{ NSString*key=queryField.text; //获取查询语句并对特殊符号进行URL编码 NSString
·
2012-09-27 10:15
ios开发
搜索栏
ios 搜索主要代码
-(
IBAction
)buttonSearch:(id)sender{ NSString*key=queryField.text; //获取查询语句并对特殊符号进行URL编码 NSString
mjrao
·
2012-09-27 10:15
ios开发
搜索栏
日历的简单示例
-(
IBAction
)showDefault:(id)sender{ UICCalendarPicker*calendarPicker=[[UICCalendarPickeralloc]initWithSize
jsntghf
·
2012-09-23 18:00
ios
iPhone
日历
iOS 5 编程(2)-开关(UISwitch)、分段控件(UISegmentedControl)和Web视图(UIWebView)控件的使用
UISwitch)分段控件(UISegmentedControl)Web视图(UIWebView)该范例iPhoneApp运行效果如下所示: 下面是iOSApp获取特定URLWeb内容的主要代码:- (
IBAction
EntLib
·
2012-09-17 10:00
iphone开发学习,UIAlertView的简单改写,popAlertView
效果图:-(
IBAction
)didPressedClick:(id)sender{ alert=[[UIAlertViewalloc]init]; alert.delegate=self; [alertaddSubview
·
2012-09-15 22:00
uialertview
ios 搜索主要代码
-(
IBAction
)buttonSearch:(id)sender{ NSString*key=queryField.text; //获取查询语句并对特殊符号进行URL编码 NSString
lakeside
·
2012-09-15 20:00
ios开发
搜索栏
ASIHttpRequest-创建和执行request
同步请求同步请求会在当前线程中执行,使用error属性来检查结束状态(要下载大文件,则需要设定downloadDestinationPath来保存文件到本地):-(
IBAction
)grabURL:(id
zhangkongzhongyun
·
2012-09-13 19:00
iOS 5 编程(1)-图像视图、滑块和步进控件的使用(源码下载)
图像视图(UIImageView)滑块(UISlider)步进控件(UIStpper)范例App的运行效果,如下图所示: 在图像视图中实现动画效果的部分代码: -(
IBAction
)toggleAnimation
EntLib
·
2012-09-13 08:00
iOS开发笔记--调用iPhone的短信、地图、电话、邮件、浏览器
调用短信:-(
IBAction
)openSms{ [[UIApplicationsharedApplication]openURL:[NSURLURLWithString:@"sms://466453"
hopedark
·
2012-09-12 11:00
ios
apple
浏览器
iPhone
sms
电话
iOS解析xml
xml字符串为: //解析按钮事件-(
IBAction
)btnXml{ NSString*str=[uitextview1 text]; //string转成data NSData *
jidiao
·
2012-09-11 15:00
ios
xml
String
user
attributes
iphone编程 按下Return键关闭键盘
(1)在ViewController.h中声明一个方法:-(
IBAction
)textFiledReturnEditing:(id)sender;(2)在ViewController.m中实现这个方法:
Davin
·
2012-09-07 04:00
return键
IOS开发6----UIScrollView的使用及通过按钮实现滑页
2.使用按钮实现滑页//左滑-(
IBAction
)prevBtnTouch:(UIButton*)sender{ current=current-1; CGPointpoint=CGPointMake
吴蕾君
·
2012-09-04 15:00
发送短信分享和邮件分享
import3.添加两个委托MFMailComposeViewControllerDelegateMFMessageComposeViewControllerDelegate4.短信分享//短信分享 -(
IBAction
icash
·
2012-09-04 01:00
Class
文档
Path
email
interface
sms
UISegmentedControl触发事件的错误
我写好了
IBAction
的方法并做了相应的连接,但运行后点击segment总是无法调用action。很是捉急,搞了老半天才发现是事件搞错了。
Orange1
·
2012-09-03 12:00
触发事件
ValueChanged
ios学习记录 UITextField输入return键监听
#import@interfaceViewController:UIViewController{ IBOutletUITextField*_textField; } -(
IBAction
)pressButton
平凡简单
·
2012-09-02 21:00
NSUserDefaults数据存取
//保存数据 - (
IBAction
)save:(id)sender { // Hide the keyboard [firstNameTextField resignFirstResponder
G10A
·
2012-08-30 14:00
NSUserDefaults
IOS中的通知--操作表ActionSheet和警报AlertView
通过触发某个按钮事件来弹出ActionSheet,看代码:- (
IBAction
)clickButton:(id)sender { UIAct
jianhua0902
·
2012-08-27 19:00
ios
android
dialog
ios备份通讯录
//添加到通讯录 -(
IBAction
)addToContact { ABAddressBookRef iPhoneAddressBook = ABAddressBookCreate
zcw_java
·
2012-08-23 11:00
ios
iphone下json的解析 NSJSONSerialization
-(
IBAction
)JOSNButtonPressed:(id)sender{ NSString*str=[@"http://douban.fm/j/mine/playlist?
uxyheaven
·
2012-08-22 00:00
JavaScript
json
iPhone
语言
character
ios实现通讯录的查询与删除
代码实现: -(
IBAction
)onClickbutton:(id)sender { NSMutableArray*personArray=[[[NSMutableArrayalloc]init
wuzehai02
·
2012-08-21 19:00
ios
UI
OS
通讯
电话
使用MBProgressHUD引发"self.navigationController.view为nil"的血案
我们先来看下demo给的一个简单例子-(
IBAction
)showSim
Nono_Love_Lilith
·
2012-08-21 16:00
thread
ios
android
网络
dialog
hierarchy
iOS网络开发中的同步、异步和请求队列
12345678910-(
IBAction
)grabURL:(id
·
2012-08-21 16:00
ios
ASIHTTPRequest系列(二):文件下载
-(
IBAction
)goURL{NSString *path=[ NSSearchPathForDirectoriesInDomains ( NSDocumentDirectory ,NSUserDomainMask
uxyheaven
·
2012-08-20 03:00
多线程
File
url
Path
download
任务
读取照片的Exif信息
PhotoLibViewController.h#import#import@interfacePhotoLibViewController:UIViewController{}-(
IBAction
)toGetImage
jsntghf
·
2012-08-19 14:00
iPhone
IOS
Exif
读取照片的Exif信息
PhotoLibViewController.h#import#import@interfacePhotoLibViewController:UIViewController{}-(
IBAction
)toGetImage
jsntghf
·
2012-08-19 14:00
iPhone
IOS
Exif
ios学习 之 收起虚拟键盘
下面举例说明一下:首先定义一个相应相应操作函数-(
IBAction
)backgroundTap:(id)sender;/////////实现输出完成时点击相应的文本字段部分软键盘退出1.若要实现点击text
lianbaixue
·
2012-08-18 20:00
视频的合成
- (
IBAction
)MergeAndSave:(id)sender { if(firstAsset != nil && secondAsset !
jsntghf
·
2012-08-18 14:00
ios
视频
iPhone
ASIHTTPRequest用户登陆:重复用户登陆问题解决
使用ASIHTTPRequest来实现用户登录,但是无论如何登陆的用户总是同一个-(
IBAction
)signin:(id)sender{……..ASIFormDataRequest*request=[
Buro#79xxd
·
2012-08-15 15:00
iphone之http post数据
interfaceCoursePJViewController:BaseViewController代码如下;@synthesize nameFiled;//手机号@synthesize passFiled;//密码//登录时的按钮事件-(
IBAction
guozh
·
2012-08-15 09:00
Xcode iOS sdk 触摸屏幕隐藏键盘
Object-c //触摸屏幕隐藏键盘Did End On Exit 调用下面事件当点击键盘return得时候就会隐藏键盘- (
IBAction
)textFieldShouldReturn:(UITextField
likandmydeer
·
2012-08-14 09:00
ios
xcode
弹出菜单的实现
@interfacePopupPanelViewController:UIViewController{ IBOutletVerticalPopupPanel*verPanel; } -(
IBAction
jsntghf
·
2012-08-07 20:00
ios
iPhone
ios 动态修改UILabel字体大小
-(
IBAction
)sliderChange:(id)sender{ NSLog(@"sliderChange"); UISlider*slider=(UISlider*)sender; NSString
JasonZhao
·
2012-08-06 21:00
UIAlertView demo
interfaceUISettingViewController()-(void)alertView:(UIAlertView*)alertViewclickedButtonAtIndex:(NSInteger)buttonIndex; -(
IBAction
Mideveloper
·
2012-08-04 19:00
interface
4.x上导航控制器的简单实现(不需要建xib)
首先主页面.h文件:继承: -(
IBAction
)goSetView:(id)sender{ SettingViewController*setView=[[SettingViewControlleralloc
AndLi
·
2012-07-31 19:00
控制器
iOS5中的UIAlertView
iOS5中提供了几种便利的UIAlertView,如下所示: - (
IBAction
)showDefaultAlertView:(id)sender { UIAlertView
jsntghf
·
2012-07-30 20:00
ios
iPhone
uialertview
TextField输入完成后关闭键盘
//按下Done键关闭键盘 -(
IBAction
)textFieldDoneEditing:(id)sender{ [se
MAZHEN1986
·
2012-07-28 17:00
input
interface
attributes
打开外部文件的方法
- (
IBAction
) openPdfByDefault:(id) sender { NSString * path = @"/Developer
dongdongdongJL
·
2012-07-27 11:00
api
文档
Path
【iPhone代码片段之一】UIActionSheet&UIAlertView的应用
示例代码如下:-(
IBAction
)buttonPressed:(id)sender{ NSLog(@"buttonPressed"); UIActionSheet*actionSheet=[[UIActionSheetalloc
m_changgong
·
2012-07-25 23:00
上一页
22
23
24
25
26
27
28
29
下一页
按字母分类:
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
其他