我的应用程序完美地在iOS 5.x中构建和运行,但是当我在iOS 6中调用selectRow:inComponent:animated:方法时它崩溃了UIPickerView.
代码:
[_pickerview selectRow:1 inComponent:0 animated:NO];
Run Code Online (Sandbox Code Playgroud)
我知道这个方法在我用Google搜索时在iOS6中不起作用,但我想知道其他方法来做这个效果吗?
我正在使用 codeigniter 框架,设置 .htaccess 文件以删除 index.php 并尝试为服务器启用 HTTPS 协议,但发生了一些事情。
HTTP:
HTTPS:
一切都是好的,当我访问https://www.example.com/的index.php /控制器/方法
我认为这是 .htaccess 文件问题,看起来 htaccess 文件不适用于 HTTPS 协议。
我网站的 .htaccess 文件。
DirectoryIndex index.php
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond $1 !^(index\.php|(.*)\.swf|forums|images|css|downloads|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php?$1 [L,QSA]
Run Code Online (Sandbox Code Playgroud)
有什么问题吗?多谢。
.htaccess ×1
apache ×1
codeigniter ×1
ios ×1
ios6 ×1
mod-rewrite ×1
php ×1
uipickerview ×1
upgrade ×1