Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
Opple-iOS
Commits
9c2c2f54
Commit
9c2c2f54
authored
Apr 25, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相册权限申请
parent
6f380d3d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
ForumItemDetailViewController.m
...iveDiscussion/Controllers/ForumItemDetailViewController.m
+6
-0
ZJKeyBoardAccessoryView.m
...r/ComprehensiveDiscussion/Views/ZJKeyBoardAccessoryView.m
+1
-0
Info.plist
Lighting/Supporting Files/Info.plist
+2
-2
No files found.
Class/LearningCenter/ComprehensiveDiscussion/Controllers/ForumItemDetailViewController.m
View file @
9c2c2f54
...
...
@@ -133,6 +133,12 @@
self
.
commentInputTextFieldView
.
inputAccessoryView
=
self
.
bottomView
.
toolView
;
if
(
!
[[
self
class
]
determinePhotosPermissions
])
{
UIAlertController
*
alertVC
=
[
UIAlertController
alertControllerWithTitle
:
@"提示"
message
:
@"请在iPad的“设置-隐私-相册”选项中,允许欧立方访问你的相册"
preferredStyle
:
UIAlertControllerStyleAlert
];
[
alertVC
addAction
:[
UIAlertAction
actionWithTitle
:
@"知道了"
style
:
UIAlertActionStyleCancel
handler
:
nil
]];
[
self
presentViewController
:
alertVC
animated
:
YES
completion
:
nil
];
}
}
#pragma mark - WKWebView/photoManager
...
...
Class/LearningCenter/ComprehensiveDiscussion/Views/ZJKeyBoardAccessoryView.m
View file @
9c2c2f54
...
...
@@ -203,6 +203,7 @@ typedef NS_ENUM(NSInteger, ItemIndex) {
[
self
.
viewController
presentViewController
:
alertVC
animated
:
YES
completion
:
nil
];
return
;
}
MWPhotoBrowser
*
browser
=
[[
MWPhotoBrowser
alloc
]
initWithDelegate
:
self
];
browser
.
displayActionButton
=
YES
;
browser
.
displayNavArrows
=
YES
;
...
...
Lighting/Supporting Files/Info.plist
View file @
9c2c2f54
...
...
@@ -15,7 +15,7 @@
<
k
e
y
>
CFBundleName
<
/k
e
y
>
<
string
>
欧立方
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
2.1.
2
<
/string
>
<
string
>
2.1.
3
<
/string
>
<
k
e
y
>
CFBundleURLTypes
<
/k
e
y
>
<
a
rr
a
y
>
<
d
i
c
t
>
...
...
@@ -48,7 +48,7 @@
<
/
d
i
c
t
>
<
/
a
rr
a
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
2.1.
2
<
/string
>
<
string
>
2.1.
3
<
/string
>
<
k
e
y
>
LSApplicationQueriesSchemes
<
/k
e
y
>
<
a
rr
a
y
>
<
string
>
wechat
<
/string
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment