Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
ce07330f
Commit
ce07330f
authored
Aug 04, 2013
by
Felix Paul Kühne
Browse files
App Delegate: correctly initialize MLKit so its crash preventer can work (close #9089)
parent
d6e95ed9
Changes
2
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCAppDelegate.m
View file @
ce07330f
...
@@ -53,6 +53,9 @@
...
@@ -53,6 +53,9 @@
// Init the HTTP Server
// Init the HTTP Server
self
.
uploadController
=
[[
VLCHTTPUploaderController
alloc
]
init
];
self
.
uploadController
=
[[
VLCHTTPUploaderController
alloc
]
init
];
// enable crash preventer
[[
MLMediaLibrary
sharedMediaLibrary
]
applicationWillStart
];
self
.
window
=
[[
UIWindow
alloc
]
initWithFrame
:[[
UIScreen
mainScreen
]
bounds
]];
self
.
window
=
[[
UIWindow
alloc
]
initWithFrame
:[[
UIScreen
mainScreen
]
bounds
]];
_playlistViewController
=
[[
VLCPlaylistViewController
alloc
]
init
];
_playlistViewController
=
[[
VLCPlaylistViewController
alloc
]
init
];
...
@@ -128,6 +131,11 @@
...
@@ -128,6 +131,11 @@
return
url
;
return
url
;
}
}
-
(
void
)
applicationWillEnterForeground
:(
UIApplication
*
)
application
{
[[
MLMediaLibrary
sharedMediaLibrary
]
applicationWillStart
];
}
-
(
void
)
applicationWillResignActive
:(
UIApplication
*
)
application
-
(
void
)
applicationWillResignActive
:(
UIApplication
*
)
application
{
{
[[
MLMediaLibrary
sharedMediaLibrary
]
applicationWillExit
];
[[
MLMediaLibrary
sharedMediaLibrary
]
applicationWillExit
];
...
...
NEWS
View file @
ce07330f
2-next:
2-next:
-------
-------
* Improved overall stability (#8989, #9031, #9089, #9092)
* Add support for subtitles in non-western languages (#8991)
* Add support for subtitles in non-western languages (#8991)
* Add Bonjour announcement for the WiFi Uploader's website (#8741)
* Add Bonjour announcement for the WiFi Uploader's website (#8741)
* Device no longer goes to sleep during media downloads (#9062)
* Device no longer goes to sleep during media downloads (#9062)
* Improved video output on external screens (#9079)
* Improved video output on external screens (#9079)
* Various stability improvements (#8989, #9031, #9092)
* New translations to Bosnian, Catalan, Galician, Marathi
* New translations to Bosnian, Catalan, Galician, Marathi
2.0.2:
2.0.2:
...
...
Write
Preview
Supports
Markdown
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