- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPat…
//实现textview的代理方法 -(void)textViewDidChange:(UITextView *)textView{ NSString *lang = [textV…
UIImageView *peach2 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"flower…
1.关闭xcode 2.终端输入 sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService 输入你的电脑密码 3.终…
// 内部图片的frame - (CGRect)imageRectForContentRect:(CGRect)contentRect { CGFloat imageW = con…
- (void)insertString:(NSString *)aString atIndex:(NSUInteger)loc; - (void)deleteCharacters…
// // ViewController.m // QRCode // // Created by chenchen on 15/7/30. // Copyright (c) 20…
//检查前后摄像头 - (void)cameraBtnAction:(id)sender { BOOL cameraAvailable = [UIImagePickerContro…
大概思路:本身textField点击键盘弹出,点击手势后自身view结束编辑,手势设为no,再点击textField时键盘弹出,这时用通知通知手势交互为yes即可 首先在.h文件中…
首先分析一下: 要得到六位数的验证码并且要随机得到最后显示出来发给用户就是要以字符串的形式,所以我们要定义一个可变字符串追加六位数,还要有一个字符串接收数 字放到前面可变字符串里,…
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPat…
+(NSString *)PostImagesToServer:(NSString *) strUrl dicPostParams:(NSMutableDictionary *)p…
IOS原生API,二维码扫描(https://github.com/reesun1130/SYQRCodeDemo)
从网络下载图片,保存,并用 UIImageView 从保存中显示