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
viewcontroller
自定义转场
自定义转场的类型按照页面类型:1、present/dismiss2、push/pop3、tabbarSwitch按照交互方式:1、交互式转场2、非交互式转场实现步骤1、用自定义而非默认的转场UI
ViewController
TransitioningDelegate2
Hey_ebc3
·
2022-02-16 05:05
(翻译) 为
ViewController
解耦 —— 如何在iOS应用程序中使用协调器模式
www.hackingwithswift.com/articles/71/how-to-use-the-coordinator-pattern-in-ios-apps在iOS项目中使用协调模式可以将关于导航部分的逻辑从
ViewController
Grabin
·
2022-02-16 04:29
5.6、UIImageView
importUIKitimportSDWebImageclass
ViewController
:UI
ViewController
{letwidthScreen=UIScreen.main.bounds.widthletheightScreen
艾希_可可
·
2022-02-16 04:58
iOS13 present
ViewController
样式适配
一、iOS13开始运行应用程序调用present方法的时候会出现显示效果的变化(看起来好像挺好看的),因为在iOS13中modalPresentationStyle的默认改为UIModalPresentationAutomatic,而在之前默认是UIModalPresentationFullScreen效果图二、**重点!重点!重点!**生命周期会发生变化,例如:page1presentpage2
单纯的敲代码
·
2022-02-16 03:20
iOS 利用runtime找到点击的页面
进入一个新页面,迅速找到对应的
ViewController
。
阳光下的我眯起了眼睛
·
2022-02-16 03:20
iOS分享到国外社交APP调研
有两种方式:一种是使用UIActivity
ViewController
,另外一种是使用Social框架中的SLCompose
ViewController
从iOS11开始,系统不允许跳过前面的选择面板直接进行第三方平台分享
华南犀牛
·
2022-02-16 02:18
iOS UIActivity
ViewController
系统原生分享使用
UIActivity
ViewController
:给App提供分享服务的视图控制器程序中效果预览直接上代码//必须要提供url才会显示分享标签否则只显示图片//设置分享内容NSArray*activityItems
Z灬昊轩
·
2022-02-16 00:48
iOS 相机、相册调用
调用方法:#import"UI
ViewController
+ImagePickerAndCamera.h"//在需要调用相机相册的地方使用这个方法即可[selfcreateActionSheetForChooseImage
master_huang
·
2022-02-16 00:15
30 MVVM
说到MVVM,就要先说MVC,M数据管理者,为VC提供数据,为VC存储数据提供接口;C管理
ViewController
的生命周期,负责生成所有的View实例,并放入ViewControlle,监听来自View
rebeccaBull
·
2022-02-15 23:24
iOS WKWebView 实现内置浏览器
PLWeb
ViewController
.gif这里关键无非监听WKWebView的属性estimatedProgress来获取网页加载进度。
临川慕容吹雪
·
2022-02-15 22:24
iOS NSTimer 循环引用引发的一些思考和思路
造成NSTimer循环引用问题的原因@interfaceTimer
ViewController
()@property(nonatomic,strong)NSTimer*timer;@endself.timer
Leesim
·
2022-02-15 21:03
iOS中关于NavigationController中UIStatusBar黑白切换以及preferredStatusBarStyle一直不执行的问题
:https://blog.csdn.net/deft_mkjing/article/details/51705021好厉害,好厉害,这个只是作为我自己学习的笔记,大家看到的话,直接去看原文哦~总结:
Viewcontroller
-basedstatusbarappearance
Fire_day
·
2022-02-15 21:13
RxSwift-deallocating,deallocated源码解析
letvc=LGDetial
ViewController
()_=vc.publicOB.takeUntil(vc.rx.deallocating).subscribe(onNext:{(item)inprint
king_jensen
·
2022-02-15 19:54
解决iOS14 popToRoot
ViewController
tabbar不自动显示问题
-(NSArray*)popToRoot
ViewController
Animated:(BOOL)animated{//解决iOS14popToRoot
ViewController
tabbar不自动显示问题
小笨憨
·
2022-02-15 18:02
收回键盘的两种方式
.利用UITextFieldDelegate协议委托textFieldShouldReturn2.点击空白处让键盘消失importUIKit//添加协议UITextFieldDelegateclass
ViewController
陆志均
·
2022-02-15 18:43
集成环信单聊音视频通话走过的坑
demo的ChatDemoHelper类导入自己的工程中这个时候工程中会报错误,你需要把#import"ConversationListController.h",#import"ContactList
ViewController
.h
白雪天枫
·
2022-02-15 18:52
iOS-SegmentedControl-分类控制器
应用开发过程会有如下需求:在当前页面,展示不同的Controller,添加button或其他的控件来控制在不同Controller之间切换image.png简易代码实现:@implementation
ViewController
Freedom_fly
·
2022-02-15 17:08
关于Xcode控制台一直输出Status bar could not find cached time string image. Rendering in-process. 的解决方案
具体操作截图如下:image.pngimage.png如果出现了无法打印其他的错误信息,先将其勾选取消,或者在info.plist里面把
Viewcontroller
-basedstatusbarappea
super_2e20
·
2022-02-15 16:02
iOS 全埋点-页面浏览事件(2)
-控件点击事件(3)iOS全埋点-UITaleView和UICollectionView的点击事件(4)iOS全埋点-手势事件(5)本章节主要是介绍iOS全埋点序列文章(2)页面浏览事件的埋点分析UI
ViewController
smile_frank
·
2022-02-15 16:11
基于UIPresentationController的封装
效果图screenshot.gif简单介绍基于UIPresentationController的封装,支持多种转场效果,还可轻松自定义转场动画使用方法:需要present的
ViewController
遵守
大泡沫
·
2022-02-15 15:19
ios 上传视频选择视频封面(videoCoverController)
但是需求已定,随后网上也找了下,没有类似的,于是乎就自己写了一个,有什么改进的地方可以互相交流,话不多说直接上代码了1.打开相册,系统相册用的很顺手,所以一直就用系统的相册//两个代理@interface
ViewController
于国文奋斗的少年
·
2022-02-15 14:49
iOS 初级Note
1、Collectionview2、图片上传排列3、键盘监听4、cell重用机制(代码顺序)5、调用父类方法先【super****】6、
viewcontroller
的点击取消键盘7、活用Xcode方法:
点雨
·
2022-02-15 14:17
iOS逆向⼯工程常规套路
观察、猜测,寻找分析切⼊入点;▸⽤用dumpdecrypted给App砸壳;▸⽤用class-dump导出Objective-C头⽂文件;▸⽤用Cycript定位⺫⽬目标视图;▸获取⺫⽬目标视图的UI
ViewController
saman0
·
2022-02-15 12:11
智汀云盘-开发指南iOS端:文件夹管理
1.文件夹列表:FolderManage
ViewController
.swift///请求数据privatefuncrequestData(){iffolders.count==0{showLoading
·
2022-02-15 11:50
ios
智汀云盘-开发指南iOS端:存储池及存储池分区
文件路径:ThirdParty/StorageManage/StorageManage
ViewController
.swift列表数据根据服务器获取,顶部数据为SA的外接硬盘数据,下部分则为云端创建的存储池数据
·
2022-02-15 11:18
ios
spring拦截器覆盖_springmvc学习笔记二:重定向,拦截器,参数绑定
Controller方法返回值返回ModelAnd
Viewcontroller
方法中定义ModelAndView对象并返回,对象中可添加model数据、指定view。
独立鱼电影
·
2022-02-15 09:45
spring拦截器覆盖
TableView的使用
TableViewTableView概述自定义TableViewTableView改造-表头表尾TableView样式优化:背景亮度/单元格透明/分割线亮度二.使用(动态单元格)故事版中直接拖入一个Table
ViewController
Table
ViewController
.png
瑟闻风倾
·
2022-02-15 08:35
ios webView交互-监听地址变化
加载了一个网页地址(url)为b,需求是当点击这个webView的时候地址b会变成c,在这期间,原生做相应操作,请不要吐槽博主,这也是一篇防忘文,额,汗......上代码//写协议@interfaceStrategy
ViewController
Archer_S
·
2022-02-15 05:54
2018-02-25 iOS 登陆界面的简单编写(通过NSNotificationCenter)
////Third
ViewController
.m//text1////Createdbyxiaoxion2018/1/11.
破夕_____________
·
2022-02-15 05:52
关于block中调用super造成循环引用的探究
实践@interface
ViewController
()@property(nonatomic,copy)void(^block)(void);@end@implementation
ViewController
Oo哔哔哔
·
2022-02-14 22:20
iOS之状态栏设置
首先:将info.plist中的
Viewcontroller
-basedstatusbarappearance设置为NO。如果没有的话,就添加一条设置为NO。
YvanLiu
·
2022-02-14 22:36
Flutter.2.Flutter与OC的双向调用
channel=[FlutterMethodChannelmethodChannelWithName:@"mrliuys.flutter.io/channel"binaryMessenger:flutter
ViewController
MrLiuYS
·
2022-02-14 21:35
2018-02-26
UIActivity
ViewController
系统原生分享先上效果图,诸位请看:效果1.gif效果2.gif接下来介绍UIActivity
ViewController
:1.创建要分享的数据内容,加在一个数组
乱了夏末丶蓝了海
·
2022-02-14 20:27
IOS获取current
ViewController
方法改进
IQKeyboardManager获取keywindow当前控制器的方法:可以看到IQKeyboardManager的方式是先获取到最上层控制器,然后再while循环获取UINavgationController的top
ViewController
ITCodeShare
·
2022-02-14 18:29
设计模式概览
iOSMVC中的设计模式MVC是一种用户界面架构模式,同样的MVVM、MVP等都是MVC的变种,iOS平台中用UI
ViewController
来描述页面,内嵌一个UIView作为页面的根视图,Model
野码道人
·
2022-02-14 15:08
iOS空白页方案
App里面有好几套空view-使用不便QMUIEmptyView-UI
ViewController
+Extension-vcEmptyView:YDEmptyViewDZNEmptyDataSetViewMomentEmptyView-XX
ViewController
-footViewVideoEmptyView-XX
ViewController
-emptyViewYDNoDataView-UIV
笑破天
·
2022-02-14 10:22
iOS逆向工程(九):ASLR
ASLR前言以前我们用Xcode的LLDB指令打断点时,可以用方法名打断点,例如breakpointset-n"[UI
ViewController
touchBegin:]",但是我们想动态调试别人的App
冰风v落叶
·
2022-02-14 03:45
程序启动过程
delegate对象3.根据Info.plist获得最主要storyboard的文件名,加载最主要的storyboard(有storyboard)创建UIWindow创建和设置UIWindow的root
ViewController
JaXz
·
2022-02-14 03:29
创建控制器、视图的几种方式
创建控制器通过代码的方式加载
viewController
CY
ViewController
*controller=[[CY
ViewController
alloc]init];self.window.root
ViewController
Cherry_06
·
2022-02-14 02:15
AFNetworking
@interface
ViewController
(){NSMutableArray*_arr;NSString*_newElementName;hero*_hero;UITableView*_tbv;}
动感大猴子
·
2022-02-13 21:44
Unsupported Configuration: Scene is unreachable
UnsupportedConfiguration:Sceneisunreachableduetolackofentrypointsanddoesnothaveanidentifierforruntimeaccessvia-instantiate
ViewController
WithIdentifier
Karenkey
·
2022-02-13 20:21
上下拉刷新,需要到导入一个MJRefresh
#import"
ViewController
.h"#import"MJRefresh/MJRefresh.h"@interface
ViewController
(){//n表格数组NSMutableArray
26aa4a305186
·
2022-02-13 19:28
Flutter ios端采用stoarybard布局UI跳动问题
问题定位:经过xcode查看布局,发现UI错乱端View是flutter端view而不是ios默认启动图view,确定问题为flutter自定义了一套启动图但是有bug解决方案:经过查看Flutter
ViewController
不拘小节123456
·
2022-02-13 15:16
iOS仿微信的悬浮窗实现,自定义转场动画,使用超级简单
HXSuspend
ViewController
是一个协议,只要你的控制器遵守了这个协议,你的控制器就可以添加到悬浮窗中。UINavigationController+HXS
大泡沫
·
2022-02-13 14:53
MVVM架构的理解
MVVM.pngMVVM同MVC一样,目的都是分离Model与View,但是它更好的将表示逻辑分离出来,减轻了Controller的负担;
ViewController
中不
CrazySnow
·
2022-02-13 14:52
高性能iOS应用开发 笔记07
Timer循环引用-(IBAction)onClickCloseVC:(id)sender{[selfdismiss
ViewController
Animated:NOcompletion:nil];}-
梓华
·
2022-02-13 14:32
KVC设值过程
setValue的过程先看一个很有趣的问题@interface
ViewController
()@property(nonatomic,strong)NSString*Str;@property(nonatomic
Corbin___
·
2022-02-13 13:48
iOS 懒加载
#import"
ViewController
.h"@interface
ViewController
()@property(nonatomic,strong)NSArray*cities;@end@implementation
ViewController
angelen
·
2022-02-13 12:14
IOS获取位置信息
Privacy-LocationAlwaysUsageDescriptionPrivacy-LocationWhenInUseUsageDescription如果不需要提示什么值为空就行3.因为对OC不熟悉所以将就看吧#import@classRoot
ViewController
程序员蓝精灵
·
2022-02-13 10:15
pli
ViewController
#import"
ViewController
.h"#import"Model.h"#import"Sec
ViewController
.h"@interface
ViewController
一万个小时_66d9
·
2022-02-13 09:51
上一页
43
44
45
46
47
48
49
50
下一页
按字母分类:
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
其他