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
IOS问题 Application windows are expected to have a root view controller at the end of application l...
该错误提示缺少root
ViewController
解决方法:在AppDelegate中添加一个root
ViewController
代码:在AppDElegate中的didFinishLauchingWithOptions
六花垂冰丸
·
2023-09-13 07:41
iOS 使用信号量控制多个present
ViewController
方法短时间内并发
最近在项目中遇到一个问题,当一个提示页面是用present弹出并且带动画时,一个个分别弹出没有问题.但是当需要同时弹出页面并且一个叠一个时就会导致present
ViewController
丢失页面,原因是当上一个页面弹出还未执行完成的时候
吴彦祖学长
·
2023-09-13 05:41
2019-04-03
import"JDTView.h"@interface
ViewController
()@property(nonatomic,weak)JDTView*jdtView;@end@implementation
ViewController
不会打滚儿的狮子
·
2023-09-13 03:24
Rating (评价)--- SKStoreRe
viewController
我手机是ios11,ios6+方法测试没效果,ios10.3亲测可用iOS6+接入方式1、引入头文件#import2、遵循代理SKStoreProduct
ViewController
Delegate3、
维若
·
2023-09-12 22:54
iOS查看office文档(系统自带)
注:在模拟器中可能下载下文件但没内容显示,需要在真机上运行测试使用1、导入头文件#import遵守协议:QLPre
viewController
DataSource,QLPre
viewController
Delegate2
Devin_明
·
2023-09-12 15:49
PHP之简单实现MVC框架
1.概述MVC全名是Model
ViewController
,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用一种业务逻辑、数据、界面显示分离的方法组织代码
狼魂豹速
·
2023-09-12 14:17
php
mvc
android
macOS 开发--Hello World(一)
WelcometoXcodeimage.png2.选择平台image.png3.命名image.png4.项目创建完成啦image.png首先我们来认识下HelloWorld,如图所示,将label拖入
ViewController
程序圜
·
2023-09-12 12:19
IOS swift 5.0 TableView 的简单使用,实现列表数据展示、刷新
一、创建一个项目二、实现TableView布局因为是新建项目,所以直接在Main.storyboard默认的第一个
ViewController
实现如上图所示:给界面添加TableView布局,在TableView
thiscopy
·
2023-09-12 09:56
IOS
iOS
UITableView
swift
iOS 从二级页面POP到主页面时tabbar 图片文字上下移动的解决办法
NO];Swift:tabBar.isTranslucent=falseiOS12.1UINavigationController+UITabBarController(UITabBar磨砂),在pop
ViewController
Animated
如此星辰
·
2023-09-12 09:53
【iOS】push与present Controller的区别
方法三、present方法四、dismiss方法五、dismiss多级的方法举例动画前言iOS推出与退出界面有两种方式——push与present,接下来笔者分别介绍这两种方式一、push方法Second
ViewController
温柔何曾赋我
·
2023-09-12 08:10
ios
cocoa
macos
ios原生分享到微信pdf文件,显示格式不对的问题
fileKey];NSURL*shareUrl=[NSURLfileURLWithPath:url];NSArray*activityItemsArray=@[shareUrl];UIActivity
ViewController
为你弹琴
·
2023-09-12 08:56
na.top
ViewController
和 na.visible
ViewController
UINavigationController*nana.rootVC=vcA;vcApushvcB;vcBpresentvcC;vcCpresentvcD;这时na.top
ViewController
=
__May__
·
2023-09-12 02:44
灵活的弹出层方案popup
框架有三部分组成,内容层(View),背景渲染层(View),视图控制器(
ViewController
)、管理者(简单分装用法)主要思路是,创建一个自定义window,并作为keyWindow遮盖在当前
Ginhoor
·
2023-09-11 21:46
在view里怎么push到某个页面
HomeZhuTi
ViewController
*vc=[[HomeZhuTi
ViewController
alloc]init];[[selfviewContainingController].navigationControllerpush
ViewController
这个姑凉儿
·
2023-09-11 19:28
push
ViewController
和present
ViewController
的区别
原文链接如下:https://zhidao.baidu.com/question/1387529553041540940.htmlpresentModal
ViewController
、present
ViewController
leisdelta
·
2023-09-11 18:57
UINavigationController-02入栈操作
入栈操作-push
ViewController
:animated:给导航控制器,添加子控制器UINavigationController*navC=[[UINavigationControlleralloc
js_huh
·
2023-09-11 16:50
iOS开发Swift-12-列表UI,Table
ViewController
,动态响应Button勾选-待办事项App(1)
1.创建新项目为项目添加图标2.将Table
ViewController
添加到界面中将箭头移动到TableView上来,代表它是首页(根页面).选中
ViewController
,点击Delete,对它进行删除
临易i
·
2023-09-11 10:39
ios
swift
ui
iOS开发Swift-11-正向传值,搜索,反向传值,城市id获取天气,光标聚焦,拦截空白/空格字符-和风天气App次页代码
1.创建次页的controllerclass在Main中选择次界面,点击左上方黄色的圈圈,将它的CustomClass中的class修改为Query
ViewController
.将Query
ViewController
临易i
·
2023-09-11 10:38
ios
swift
开发语言
添加子视图控制器时,子视图控制器的viewWillAppear方法不调用
false];[self.viewaddSubview:baseController.view];[baseControllerendAppearanceTransition];[selfaddChild
ViewController
浩成哥哥
·
2023-09-11 09:09
MVC&MVVM
一、概述在iOS开发中,MVC(Model
ViewController
)是构建iOSApp的标准模式,是苹果推荐的一个用来组织代码的权威范式。Apple甚至是这么说的。
WhistleCai
·
2023-09-11 07:40
iOS 打电话 发短信 发邮件
@interfaceEVCommunicateHandler()@property(nonatomic,strong)MFMessageCompose
ViewController
*mobileContactsVC
edison0428
·
2023-09-11 05:17
swift中的 扩展,协议和代理
你可以添加方法/属性到一个类/结构体/枚举(即便你没有源码)比如说,这个方法为UI
ViewController
添加了一个方法content
ViewController
extensionUI
ViewController
_我和你一样
·
2023-09-10 22:19
iOS常用开发文档网站
AppleDocumentationArchiveAppleOpensource1、UIViewProgrammingGuideforiOS
ViewController
ProgrammingGuideforiOSCollectionViewProgrammingGuideforiOSTableViewProgrammingGuideforiOSScrollViewProgrammingGuidef
学习天亦
·
2023-09-10 15:07
IOS 隐藏UItabbar后底部留白的问题
一般App都是Window->UITabBarController->UINavigationController->UIViweController,而一般跟视图
ViewController
的UITabBar
本客
·
2023-09-10 04:10
swift获取子视图的控制器
获取根视图控制器的方法方法一思路:遍历当前视图的父视图,获取控制器funcresponseUI
ViewController
()->UI
ViewController
?
追忆之丘
·
2023-09-10 01:33
Swift的几种传值方式
传值方式在进行页面跳转过程中无法避免需要进行值的传递,那么值的传递可以分为正向传值和反向传值,例如在Source
ViewController
跳转至Destination
ViewController
的过程中需把前者的属性值传递给后者称为正向传值
Tmylyh
·
2023-09-09 20:10
ios
swift
开发语言
ios
11-3.GLKit-索引绘图案例
2.2render函数:渲染图形GLKViewDelegate代理方法:使用索引绘制图形update函数:图形的旋转变换按钮点击事件:判断图形是否围绕该轴旋转1.准备工作主要是变量的定义及界面设置1.1新建工程,设置
ViewController
Pufus
·
2023-09-09 14:00
iOS开发之加载控制器
通过纯代码加载UI
ViewController
*targetVC=[PFTargetVCalloc]init];[self.navigationControllerpush
ViewController
:
悄然林静
·
2023-09-09 12:25
同一个方法使用method_exchangeImplementations多次
先看第一个问题:分类的加载顺序举例UI
ViewController
3个分类分别为UI
ViewController
+AUI
ViewController
+BUI
ViewController
+C.A+(void
上山砍柴
·
2023-09-09 11:28
iOS无侵入检测UI
ViewController
的销毁
最原始的方式可能是在VC的dealloc方法中输出打印页面已经被释放的日志。下面介绍一种方式,无侵入性,也不需要编写任何代码,但局限性在于只能Xcode在跑工程时使用。只需要执行下面四步,从此一生无忧。转到BreakpointNavigator(菜单视图>导航器>显示BreakpointNavigator或⌘-command+8)image-20200701153203864.png单击左下角+,
YYSky
·
2023-09-09 04:42
OpenGL ES(GLKView+GLK
ViewController
)
GLKView使用OpenGLES绘制内容的视图默认实现1:初始化视图-(instancetype)initWithFrame:(CGRect)framecontext:(EAGLContext*)contextcontext绘制视图内容时使⽤用的OpenGLES上下⽂文2:代理方法/*RequiredmethodforimplementingGLKViewDelegate.Thisdrawmet
忆痕无殇
·
2023-09-09 00:21
kxmovie 源码分析(1)
上一篇让我们能运行起来kxmovie项目.接下来我们就应该分析下如何播放音频和视频了.文件概览KxMovie
ViewController
.hKxMovie
ViewController
.mKxMovieGLView.hKxMovieGLView.mKxMovieDecoder.hKxMovieDecoder.mKxAudioManager.hKxAudioManager.mKxLogger.h
充满活力的早晨
·
2023-09-08 16:17
springMVC入门
表现层一般会采用MVC的设计模型业务层:处理公司具体的业务逻辑的持久层:用来操作数据库的MVC模型MVC全名是Model
ViewController
模型视图控制器,每个部分各司其职。M
暴躁的程序猿啊
·
2023-09-08 13:20
springmvc
springmvc
java
IOS-Tips
1.解决webView加载html选择本地相册出现退出界面问题需要重写dismiss
ViewController
Animated方法进行判断,如果是模态出来的界面,则不退出。
笠天丐冥
·
2023-09-08 10:31
iOS开发中的四种GCD
////
ViewController
.m//GCDDemo1////CreatedbyWangZhion16/6/3.
BrianWang
·
2023-09-08 00:58
iOS KVO观察者模式(坑),移除观察者removeObserver崩溃
问题在ViewDidLoad中注册监听者在
ViewController
中dealloc函数中调用removeObserver移除观察者发生崩溃。
蜂子阁先生
·
2023-09-07 22:09
iPhone - 如何找到最顶层的视图控制器
-(UI
ViewController
*)top
ViewController
{return[selftop
ViewController
WithRoot
ViewController
:[UIApplicationsharedApplication
马拉萨的春天
·
2023-09-07 20:17
基础知识点
iphone
ios
登录页面添加导航条,但是不显示
从A界面跳转到B界面,本来通过调用[self.navigationControllerpush
ViewController
:vcanimated:YES]这个方法,即可在B界面自动生成导航,但是却一直不显示
达_Ambition
·
2023-09-07 18:22
HealthKit读取与修改步数
////J_HelthKit
ViewController
.m//ThirdFrameworksDemo////Createdbyjyfon2018/5/15.
ilmari
·
2023-09-07 11:15
iOS-谁引起webview.frame自动变化?
引言一般我们创建的项目架子是以下两种方式:UITabBarController+UINavigationController+UI
ViewController
UINavigationController
介是阿姐
·
2023-09-07 11:34
iOS开发 - 程序加载过程之dyld流程分析
答案是否的,下面一个小案例探究一下:1.1程序入口探究在程序main.m文件中写下一个C方法kcFunc(),在main函数打下断点,然后在
ViewController
.m文件中写下一个+load():
Lcr111
·
2023-09-07 01:53
Swift Talk #05 Connecting View Controllers
这样就避免了
ViewController
紧耦与他们的上下文。今天我们来谈谈故事版和如何改进故事版的使用。我们有一个app来显示TableView.如果你点击table里面的一项,会进入详情页。
SealShile
·
2023-09-06 19:19
【Swift】Starscream 实现socket连接
importUIKitimportStarscreamclass
ViewController
:UI
ViewController
,WebSocketDelegate{varsocket:WebSocket
Landen2011
·
2023-09-06 17:41
swift
websocket
开发语言
ios
网络协议
iOS textView 选中的字符串 高亮显示 2022-04-19
importUIKitimportPDFKitimportCoreGraphicsclass
ViewController
:UI
ViewController
,UITextViewDelegate{vardic
漫步的老狼
·
2023-09-06 17:38
iOS超过行数的label在末尾加“全文”“更多”
1.先展示下实现效果,如下图所示:1.PNG2.例子为新建一个项目,在自带文件
ViewController
界面中改动。
可地出溜
·
2023-09-06 15:03
iOS开发Swift-10-位置授权, cocoapods,API,天气获取,城市获取-和风天气App首页代码
1.获取用户当前所在的位置在infi中点击加号,选择权限:当用户使用app的时候获取位置权限.填写使用位置权限的目的.2.获取用户的经纬度.
ViewController
:importUIKitimportCoreLocationclass
ViewController
临易i
·
2023-09-06 15:11
ios
swift
cocoapods
开发语言
xcode
iOS更改状态栏颜色
1.设置StatusBarStyle为Light.Info.plist文件中生成的相应配置2.在plist文件中添加
Viewcontroller
-basedstatusbarappearance=NO。
老KFirstK
·
2023-09-06 00:08
iOS 播放防盗链视频
NSURLURLWithString:@"https://test.mp4"];//播放视频AVPlayer*player=[AVPlayerplayerWithURL:videoURL];AVPlayer
ViewController
Shadowoff
·
2023-09-05 17:29
iPad下横屏调用系统相册
Terminatingappduetouncaughtexception'UIApplicationInvalidInterfaceOrientation',reason:'Supportedorientationshasnocommonorientationwiththeapplication,and[PUUIAlbumList
ViewController
shouldAutorotate
耽于幽夜
·
2023-09-05 15:02
关于弹窗(UIAlerter
ViewController
)的总结
#import"Alert.h"@implementationAlert+(void)alert:(NSString*)strandUI
viewController
:(UI
ViewController
*
__Seven
·
2023-09-05 12:35
上一页
13
14
15
16
17
18
19
20
下一页
按字母分类:
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
其他