摘要://视图将要出现,隐藏导航栏 -(void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [self.navigationController setNavigationBarHidden:YES]; }
阅读全文
摘要:为了更加方便的从多重字典里嵌套数组在这里记录下解套的方法,就可以按嵌套的多少慢慢解了! 数组里面嵌套了字典,如图 你就这样
阅读全文
摘要:具体流程: 登陆微信开放平台 管理中心-创建移动应用-等待审核通过 审核通过后-查看应用(拉到最下面)-关联小程序信息-查看关联-关联小程序-小程序账号持有者通过申请 到这一步就可以开始移动开发了 👉这里只介绍iOS SDK接入开发全流程 原文链接:https://open.weixin.qq.c
阅读全文
摘要:- (void)viewDidLoad { [super viewDidLoad]; NSLog(@"Hello world!"); // 设置按钮 [self setbutton]; } -(void)setbutton{ NSButton *button = [[NSButton alloc]i
阅读全文
摘要:https://blog.csdn.net/Reborn_Tai/article/details/79245498 我不想重复造轮子
阅读全文
摘要:https://blog.csdn.net/qq_28142539/article/details/51127560
阅读全文
摘要:UIView *iconBgView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 25, 25)]; UIButton * backbtn =[UIButton addBtnImage:@"backimg" AndFrame:CGRectMake(
阅读全文
摘要:Instruction_set_list.h #import <UIKit/UIKit.h> @interface Instruction_set_list : UIViewController @property (strong,nonatomic)UITableView *tableviewIn
阅读全文
摘要:NSString *last1 = [str1 substringToIndex:str1.length-2];//截去字符串结尾 NSString *last2 = [str2 substringFormIndex:str2.length-2];//截取字符串结尾
阅读全文
摘要:- (void)viewDidLoad { [super viewDidLoad]; // 创建tableview [self setTableView]; [self setupRefresh]; } // 下拉刷新 - (void)setupRefresh { NSLog(@"setupRefresh -- 下拉刷新"); ...
阅读全文
摘要:https://yq.aliyun.com/ziliao/4779 设置按钮的4个角:左上:UIRectCornerTopLeft左下:UIRectCornerBottomLeft右上:UIRectCornerTopRight右下:UIRectCornerBottomRight 例子代码: UIBu
阅读全文
摘要:https://www.jianshu.com/p/b9bba621b295
阅读全文
摘要://开始传输config文件 -(void)Qlife_sendConfigStart:(NSString *)fileData{ //读取文件 NSError *error = nil; NSString *str = [NSString stringWithContentsOfFile:fileData encoding:NSUTF8StringEncoding er...
阅读全文
摘要:_tableview = [[UITableView alloc]initWithFrame:CGRectMake(0, 94,fDeviceWidth,fDeviceHeight-108) style:UITableViewStylePlain]; _tableview.delegate =self;//写了这两句话哟调用delegate*/ _tableview.dataS...
阅读全文
摘要:- (void)viewDidLoad{ [super viewDidLoad]; //添加手势 UITapGestureRecognizer *tap1 = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(viewTapped:)]; tap1.cancelsTouchesInView = NO; ...
阅读全文
摘要:- (void)viewDidLoad { [super viewDidLoad]; 。。。。放这里!!! }
阅读全文
摘要:@property (nonatomic,strong)UISlider *VolSlider; _VolSlider=[[UISlider alloc]initWithFrame:CGRectMake(fDeviceWidth/4,fDeviceHeight*3/4-64,fDeviceWidth/2,30)]; _VolSlider.minimumValue=0.0; ...
阅读全文
摘要:在线PS:https://www.photopea.com/ 图片处理: http://icon.wuruihong.com/icon/iZduKVew#/ios 图标工厂 ios图标:https://appicon.co/#app-icon ios启动图:https://www.onlinedo.
阅读全文
摘要:援引:http://www.cnblogs.com/wb145230/p/5266627.html
阅读全文
摘要:如果使用导航 第一个按钮方法: [self.navigationController pushViewController:secondVC animated:YES]; 第二个按钮方法: [self.navigationController popViewControllerAnimated:YE
阅读全文